Skip to content

Commit

Permalink
Fix the error in cli.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
AriaMinaei committed Aug 10, 2023
1 parent b73fd00 commit 3b93370
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion devEnv/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ prog.command('build', 'Builds all the main packages').action(async () => {

prog
.command('release <version>', 'Releases all the main packages to npm')
.option('--skip-ts', 'Skip emitting typescript declarations')
.option('--skip-lint', 'Skip typecheck and lint')
.action(async (version, opts) => {
/**
Expand Down Expand Up @@ -181,7 +182,7 @@ prog
console.log('Skipping typecheck and lint')
}

const skipTypescriptEmit = argv['skip-ts'] === true
const skipTypescriptEmit = opts['skip-ts'] === true

console.log('Assigning versions')
await writeVersionsToPackageJSONs(version)
Expand Down

0 comments on commit 3b93370

Please sign in to comment.