@@ -32,9 +32,16 @@ var binaryPath = path.resolve(__dirname, 'elm') + (process.platform === 'win32'
32// Run the command directly if possible, otherwise download and then run.
32// Run the command directly if possible, otherwise download and then run.
33// This check is important for Windows where this file will be run all the time.
33// This check is important for Windows where this file will be run all the time.
35+if (process.platform === 'win32')
35−fs.existsSync(binaryPath)
37+ fs.existsSync(binaryPath)
36− ? runCommand()
38+ ? runCommand()
37− : require('../download.js')(runCommand);
39+ : require('../download.js')(runCommand);
43+ require('../download.js')(runCommand);
40function runCommand()
47function runCommand()