refactor: additional script cleanups

This commit is contained in:
Tim Griesser
2021-06-30 18:51:37 -04:00
parent 1e005644ae
commit b2b2a97132
4 changed files with 20 additions and 12 deletions
+1 -6
View File
@@ -71,12 +71,7 @@ const deploy = {
parseOptions (argv) {
const opts = minimist(argv, {
boolean: ['skip-clean'],
default: {
'skip-clean': false,
},
alias: {
skipClean: 'skip-clean',
zip: ['zipFile', 'zip-file', 'filename'],
},
})
@@ -238,7 +233,7 @@ const deploy = {
.then(() => {
debug('building binary: platform %s version %s', options.platform, options.version)
return build(options.platform, options.version, options)
return build.buildCypressApp(options)
})
},