fix(spectron): typo with darwin

This commit is contained in:
mbilker 2015-11-23 23:34:37 -05:00
parent 4a8b358013
commit 0f20c13501

View file

@ -34,7 +34,7 @@ module.exports = (grunt) ->
grunt.registerTask 'run-spectron-specs', 'Run spectron specs', -> grunt.registerTask 'run-spectron-specs', 'Run spectron specs', ->
shellAppDir = grunt.config.get('nylasGruntConfig.shellAppDir') shellAppDir = grunt.config.get('nylasGruntConfig.shellAppDir')
if process.platform is 'darwine' if process.platform is 'darwin'
executablePath = path.join(shellAppDir, 'Contents', 'MacOS', 'Nylas') executablePath = path.join(shellAppDir, 'Contents', 'MacOS', 'Nylas')
else else
executablePath = path.join(shellAppDir, 'nylas') executablePath = path.join(shellAppDir, 'nylas')