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