diff --git a/src/commands/build/index.ts b/src/commands/build/index.ts index da979e4f..f41df8c9 100644 --- a/src/commands/build/index.ts +++ b/src/commands/build/index.ts @@ -34,7 +34,7 @@ const parser = yargs type: 'boolean', }) .group(['config', 'strict', 'quiet', 'help', 'version'], 'Common options:') - .version(typeof VERSION !== 'undefined' ? VERSION : '') + .version(typeof VERSION === 'undefined' ? '' : VERSION) .help(); export class Build