File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { hideBin } from 'yargs/helpers'
1010import { Difficulty , Instrument } from './interfaces'
1111import { appearsToBeChartFolder , getExtension } from './utils'
1212
13- const argv = yargs ( hideBin ( process . argv ) )
13+ const config = yargs ( hideBin ( process . argv ) )
1414 . options ( {
1515 inputFolder : {
1616 alias : 'i' ,
@@ -46,7 +46,7 @@ const argv = yargs(hideBin(process.argv))
4646 } ,
4747 } )
4848 . help ( )
49- . parse ( )
49+ . parseSync ( )
5050
5151interface InputHashes {
5252 [ chartHash : string ] : {
@@ -62,8 +62,6 @@ interface InputHashes {
6262main ( )
6363let scanCount = 0
6464async function main ( ) {
65- const config = await argv
66-
6765 const inputHashes : InputHashes = { }
6866 for ( const folder of await getChartFolders ( config . inputFolder ) ) {
6967 const files = (
You can’t perform that action at this time.
0 commit comments