File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
eng/tools/TypeSpecValidation/src Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { FormatRule } from "./rules/format.js";
55import { GitDiffRule } from "./rules/git-diff.js" ;
66import { LinterRulesetRule } from "./rules/linter-ruleset.js" ;
77import { NpmPrefixRule } from "./rules/npm-prefix.js" ;
8+ import path from "path" ;
89import { TsvRunnerHost } from "./tsv-runner-host.js" ;
910
1011export async function main ( ) {
@@ -16,7 +17,7 @@ export async function main() {
1617 } ,
1718 } ;
1819 const parsedArgs = parseArgs ( { args, options, allowPositionals : true } as ParseArgsConfig ) ;
19- const folder = parsedArgs . positionals [ 0 ] ;
20+ const folder = parsedArgs . positionals [ 0 ] . split ( path . sep ) . join ( "/" ) ;
2021 console . log ( "Running TypeSpecValidation on folder:" , folder ) ;
2122
2223 const host = new TsvRunnerHost ( ) ;
You can’t perform that action at this time.
0 commit comments