     currentVersion isnt latestVersion
 
   _someDependencyIsMismatched: ->
-    isMismatched = false
+    {packageDependencies} = require('../package.json')
 
-    @_getDependencies().then (dependencies) =>
-      for name, version of dependencies
-        if @_shouldInstallDependency(name, version)
-          isMismatched = true
-          return
+    for name, version of packageDependencies
+      if @_shouldInstallDependency(name, version)
+        return true
 
-    isMismatched
-
-  _afterUpdate: ({log}) ->
-    target = localStorage.remove('targetedUpdateVersion')
-
-    if @_shouldUpdate(target) then @_updateFailed(log) else @_updateSucceeded()
+    false
 
   _updateFailed: (log) ->
     @updateNotification =


      packagesToUpdate

  _getDependencies: ->
    @_getDependenciesFromPackagesDir().catch =>
      @_getDependenciesFromCurrentPackage()


        description: 'This may take a few minutes. Please **do not** close the editor.'
        dismissable: true

    localStorage.set('restartingForUpdate', true)
    @_updatePackage().then (pkgResult) =>
      @_installDependencies().then (depResult) =>
        log = "Learn IDE:\n#{pkgResult.log}"
