File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ module.exports = (api, options) => {
99
99
if ( args . skipBundle ) {
100
100
console . log ( 'Not bundling app as --skipBundle was passed' )
101
101
// Build with electron-builder
102
- buildApp ( args . skipElectronBuild )
102
+ buildApp ( )
103
103
} else {
104
104
const bundleOutputDir = path . join ( outputDir , 'bundled' )
105
105
// Arguments to be passed to renderer build
@@ -215,10 +215,10 @@ module.exports = (api, options) => {
215
215
)
216
216
log ( formatStats ( stats , targetDirShort , api ) )
217
217
218
- buildApp ( args . skipElectronBuild )
218
+ buildApp ( )
219
219
} )
220
220
} else {
221
- buildApp ( args . skipElectronBuild )
221
+ buildApp ( )
222
222
}
223
223
} )
224
224
} else {
@@ -230,11 +230,11 @@ module.exports = (api, options) => {
230
230
api . resolve ( mainProcessFile ) ,
231
231
api . resolve ( `${ outputDir } /bundled/index.js` )
232
232
)
233
- buildApp ( args . skipElectronBuild )
233
+ buildApp ( )
234
234
}
235
235
}
236
- function buildApp ( skip ) {
237
- if ( skip ) {
236
+ function buildApp ( ) {
237
+ if ( args . skipElectronBuild ) {
238
238
console . log ( 'Not building app as --skipElectronBuild was passed' )
239
239
return
240
240
}
You can’t perform that action at this time.
0 commit comments