Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore(utils): fix formating
  • Loading branch information
armano2 committed Jan 6, 2021
commit df56db633e05efd14b2b674b018dbd853a3ddc2a
60 changes: 30 additions & 30 deletions @packages/utils/pkg-check.js
Original file line number Diff line number Diff line change
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