File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ for (const arg of process.argv) {
2020 // filter out recent, not a dir
2121 config . options . all = arg === "all" ;
2222 } else if ( arg . startsWith ( "--md=" ) ) {
23- config . markdownDir = arg . slice ( 5 ) . replace ( '"' , "" ) ;
23+ config . markdownDir = arg . slice ( 5 ) . replace ( / " / g , "" ) ;
2424 } else if ( arg . startsWith ( "--removeTag=" ) ) {
2525 config . options . removeTags = arg . slice ( 12 ) . split ( "," ) ;
2626 } else if ( arg . startsWith ( "--bot=" ) ) {
@@ -46,6 +46,7 @@ if (config.markdownDir && !existsSync(config.markdownDir)) {
4646 console . log ( "Creating" , config . markdownDir ) ;
4747 mkdirSync ( config . markdownDir , { recursive : true } ) ;
4848}
49+ console . log ( "Using" , config . jsonDir , config . markdownDir ) ;
4950
5051const votes = queryVotes ( config ) ;
5152console . log (
You can’t perform that action at this time.
0 commit comments