Skip to content

Commit

Permalink
fix: migrated migrations from StartupActivity to ProjectActivity
Browse files Browse the repository at this point in the history
  • Loading branch information
Roboroads committed Apr 8, 2024
1 parent 2a8ce5b commit 642c430
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ package nl.deschepers.laraveltinker.startup
import com.intellij.ide.plugins.PluginManagerCore
import com.intellij.openapi.extensions.PluginId
import com.intellij.openapi.project.Project
import com.intellij.openapi.startup.StartupActivity
import com.intellij.openapi.startup.ProjectActivity
import de.skuzzle.semantic.Version
import nl.deschepers.laraveltinker.settings.PersistentApplicationCache
import nl.deschepers.laraveltinker.startup.migrations.MakeSureConsolesHaveExtensions

class Migrations : StartupActivity {
override fun runActivity(project: Project) {
class Migrations : ProjectActivity {
override suspend fun execute(project: Project) {
val currentMigrateVersion =
Version.parseVersion(PersistentApplicationCache.instance.state.migrateVersion)
val currentPluginVersion =
Expand Down

0 comments on commit 642c430

Please sign in to comment.