From c24eec8205586285ba67d0b94a56cd7db1057d28 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 5 Sep 2013 11:40:18 -0700 Subject: [PATCH] :lipstick: --- tasks/update-atom-shell-task.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/update-atom-shell-task.coffee b/tasks/update-atom-shell-task.coffee index 29445dbc9..fbd70343b 100644 --- a/tasks/update-atom-shell-task.coffee +++ b/tasks/update-atom-shell-task.coffee @@ -65,10 +65,10 @@ module.exports = (grunt) -> grunt.registerTask 'update-atom-shell', 'Update atom-shell', -> done = @async() {atomShellVersion} = grunt.file.readJSON('package.json') - currentAtomShellVersion = getAtomShellVersion() if atomShellVersion atomShellVersion = "v#{atomShellVersion}" - if atomShellVersion isnt getAtomShellVersion() + currentAtomShellVersion = getAtomShellVersion() + if atomShellVersion isnt currentAtomShellVersion if isAtomShellVersionCached(atomShellVersion) grunt.log.writeln("Installing cached atom-shell #{atomShellVersion.cyan}") installAtomShell(atomShellVersion)