Add curly brackets for code consistency
This commit is contained in:
parent
0b7e83819b
commit
f4c980fb53
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user