Skip to content

Commit

Permalink
Fix deprecated usage
Browse files Browse the repository at this point in the history
  • Loading branch information
izhangzhihao authored Jul 24, 2020
1 parent 5bf81a5 commit e683968
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class RainbowFartUpdateNotifyActivity : StartupActivity {
if (isInstalled) {
val pluginDescriptor = PluginManagerCore.getPlugin(pluginId)
if (pluginDescriptor != null) {
StartupActionScriptManager.addActionCommand(StartupActionScriptManager.DeleteCommand(pluginDescriptor.path))
StartupActionScriptManager.addActionCommand(StartupActionScriptManager.DeleteCommand(pluginDescriptor.pluginPath.toFile()))
}
}
}
Expand Down Expand Up @@ -81,4 +81,4 @@ class RainbowFartUpdateNotifyActivity : StartupActivity {
showFullNotification(project, notification)
}
}
}
}

0 comments on commit e683968

Please sign in to comment.