Mimic Atom’s if/else style convention

This commit is contained in:
probablycorey
2014-06-04 10:55:10 -07:00
parent 5434a26636
commit 1ac40b2673
2 changed files with 8 additions and 4 deletions

View File

@@ -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);
}

View File

@@ -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;
}