Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da16622

Browse files
committed
Tweak whitespace in tasks/release.js to comply with js-standard
The rest of tasks/release.js is formatted according to js-standard, and this prevents the only two linting errors in the project that appear when using js-standard style.
1 parent 3c44174 commit da16622

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

template/tasks/release.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ function pack () {
2020
pack.on('exit', code => build())
2121
}
2222

23-
2423
/**
2524
* Use electron-packager to build electron app
2625
*/
@@ -29,7 +28,7 @@ function build () {
2928

3029
console.log('\x1b[34mBuilding electron app(s)...\n\x1b[0m')
3130
packager(options, (err, appPaths) => {
32-
if(err) {
31+
if (err) {
3332
console.error('\x1b[31mError from `electron-packager` when building app...\x1b[0m')
3433
console.error(err)
3534
} else {

0 commit comments

Comments
 (0)