Skip to content

Commit 1f6299d

Browse files
committed
chore: lintfixed scripts/prebuild.js
1 parent 31d71b4 commit 1f6299d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/prebuild.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async function main(argv = process.argv) {
7878
stdio: ['inherit', 'inherit', 'inherit'],
7979
windowsHide: true,
8080
encoding: 'utf-8',
81-
shell: (platform === 'win32') ? true : false,
81+
shell: platform === 'win32' ? true : false,
8282
});
8383
} else {
8484
console.error('Skipping node-gyp install due to specified `nodedir`');
@@ -101,7 +101,7 @@ async function main(argv = process.argv) {
101101
stdio: ['inherit', 'inherit', 'inherit'],
102102
windowsHide: true,
103103
encoding: 'utf-8',
104-
shell: (platform === 'win32') ? true : false,
104+
shell: platform === 'win32' ? true : false,
105105
});
106106

107107
const buildArgs = [
@@ -124,7 +124,7 @@ async function main(argv = process.argv) {
124124
stdio: ['inherit', 'inherit', 'inherit'],
125125
windowsHide: true,
126126
encoding: 'utf-8',
127-
shell: (platform === 'win32') ? true : false,
127+
shell: platform === 'win32' ? true : false,
128128
});
129129

130130
const projectRoot = path.join(__dirname, '..');

0 commit comments

Comments
 (0)