Skip to content

Commit 1400202

Browse files
committed
update addGlobalOptions
1 parent dfb5aa7 commit 1400202

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

lib/commonOpts.ts

+7-8
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,13 @@ import { Mode } from '@hubspot/local-dev-lib/types/Files';
1515
const i18nKey = 'lib.commonOpts';
1616

1717
export function addGlobalOptions(yargs: Argv) {
18-
return yargs
19-
.option('debug', {
20-
alias: 'd',
21-
default: false,
22-
describe: i18n(`${i18nKey}.options.debug.describe`),
23-
type: 'boolean',
24-
})
25-
.version(false);
18+
yargs.version(false);
19+
return yargs.option('debug', {
20+
alias: 'd',
21+
default: false,
22+
describe: i18n(`${i18nKey}.options.debug.describe`),
23+
type: 'boolean',
24+
});
2625
}
2726

2827
export function addAccountOptions(yargs: Argv): Argv {

0 commit comments

Comments
 (0)