diff --git a/tools/scripts/createReleaseChangelog.ts b/tools/scripts/createReleaseChangelog.ts index 37aa23b0..7bc9016a 100644 --- a/tools/scripts/createReleaseChangelog.ts +++ b/tools/scripts/createReleaseChangelog.ts @@ -7,9 +7,10 @@ */ import yargs from 'yargs'; +import { hideBin } from 'yargs/helpers'; import tokens from './tokens.json'; -const { sha } = yargs +const { sha } = yargs(hideBin(process.argv)) .options({ sha: { description: 'The hash of the last commit of the previous release',