diff --git a/script/bootstrap b/script/bootstrap index 52371c418..796ec3aaa 100755 --- a/script/bootstrap +++ b/script/bootstrap @@ -16,7 +16,8 @@ function executeCommands(commands, done, index) { command = command.command; } safeExec(command, options, executeCommands.bind(this, commands, done, index + 1)); - } else + } + else done(null); } diff --git a/script/utils/verify-requirements.js b/script/utils/verify-requirements.js index 261e56f36..e72f9a8db 100644 --- a/script/utils/verify-requirements.js +++ b/script/utils/verify-requirements.js @@ -22,7 +22,8 @@ function verifyNode() { function verifyPython27(cb) { if (process.platform !== 'win32') { cb(); - } else { + } + else { var pythonExecutable; if (!pythonPath) { var systemDrive = process.env.SystemDrive || 'C:\\'; @@ -30,10 +31,12 @@ function verifyPython27(cb) { if (fs.existsSync(pythonPath)) { pythonExecutable = path.join(pythonPath, 'python'); - } else { + } + else { pythonExecutable = 'python'; } - } else { + } + else { pythonExecutable = pythonPath; }