Skip to content

Commit

Permalink
chore(utils): fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
armano2 committed Jan 5, 2021
1 parent 0438520 commit 84e65e7
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions @packages/utils/pkg-check.js
Expand Up @@ -89,36 +89,36 @@ function main(flags) {
});
}

main(yargs
.options({
cwd: {
description: 'directory to execute in',
type: 'string',
},
skipMain: {
default: false,
type: 'boolean',
description: 'Skip main checks',
},
skipBin: {
default: false,
type: 'boolean',
description: 'Skip bin checks',
},
skipImport: {
default: false,
type: 'boolean',
description: 'Skip import smoke test',
},
})
.scriptName('pkg-check')
.usage('pkg-check\n')
.usage('Check if a package creates valid tarballs')
.example('$0', '')
.help()
.version()
.strict()
.argv
main(
yargs
.options({
cwd: {
description: 'directory to execute in',
type: 'string',
},
skipMain: {
default: false,
type: 'boolean',
description: 'Skip main checks',
},
skipBin: {
default: false,
type: 'boolean',
description: 'Skip bin checks',
},
skipImport: {
default: false,
type: 'boolean',
description: 'Skip import smoke test',
},
})
.scriptName('pkg-check')
.usage('pkg-check\n')
.usage('Check if a package creates valid tarballs')
.example('$0', '')
.help()
.version()
.strict().argv
)
.then((report) => {
if (report.problems.length > 0) {
Expand Down

0 comments on commit 84e65e7

Please sign in to comment.