Add curly brackets for code consistency

This commit is contained in:
Rob Garrison 2018-07-21 12:23:02 -05:00
parent 0b7e83819b
commit f4c980fb53
2 changed files with 6 additions and 2 deletions

View File

@ -32,7 +32,9 @@ async function updateHook(themes) {
}
function exit(err) {
if (err) console.error(err);
if (err) {
console.error(err);
}
process.exit(err ? 1 : 0);
}

View File

@ -94,7 +94,9 @@ async function copy(lib, folder) {
}
function exit(err) {
if (err) console.error(err);
if (err) {
console.error(err);
}
process.exit(err ? 1 : 0);
}