Skip to content

Commit 2055bfd

Browse files
clydinangular-robot[bot]
authored andcommitted
build: remove usage of minimist from public api manage script
`minimist` is no longer a dependency of the project. `yargs` is used instead.
1 parent f52c375 commit 2055bfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

goldens/public-api/manage.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const {exec} = require('shelljs');
2-
const minimist = require('minimist');
2+
const {Parser: parser} = require('yargs/helpers');
33

44
// Remove all command line flags from the arguments.
5-
const argv = minimist(process.argv.slice(2));
5+
const argv = parser(process.argv.slice(2));
66
// The command the user would like to run, either 'accept' or 'test'
77
const USER_COMMAND = argv._[0];
88
// The shell command to query for all Public API guard tests.

0 commit comments

Comments
 (0)