File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ async function runBenchmark (config: Config) {
141141function getConfig ( ) : Config {
142142 const base = baseConfig ;
143143
144- const args = yargs ( hideBin ( process . argv ) ) as unknown as Record < string , unknown > ;
144+ const args = yargs ( hideBin ( process . argv ) ) . argv as Record < string , unknown > ;
145145
146146 if ( typeof args . testFunction === 'string' ) {
147147 baseConfig . options . testFunction = args . testFunction as ConfigOptions [ 'testFunction' ] ;
Original file line number Diff line number Diff line change 11import yargs from 'yargs' ;
22import { hideBin } from 'yargs/helpers' ;
33
4- const args = yargs ( hideBin ( process . argv ) ) as {
4+ const args = yargs ( hideBin ( process . argv ) ) . argv as {
55 language ?: string | string [ ] ;
66 update ?: boolean ;
77} ;
You can’t perform that action at this time.
0 commit comments