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";
5
5
import { GitDiffRule } from "./rules/git-diff.js" ;
6
6
import { LinterRulesetRule } from "./rules/linter-ruleset.js" ;
7
7
import { NpmPrefixRule } from "./rules/npm-prefix.js" ;
8
+ import path from "path" ;
8
9
import { TsvRunnerHost } from "./tsv-runner-host.js" ;
9
10
10
11
export async function main ( ) {
@@ -16,7 +17,7 @@ export async function main() {
16
17
} ,
17
18
} ;
18
19
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 ( "/" ) ;
20
21
console . log ( "Running TypeSpecValidation on folder:" , folder ) ;
21
22
22
23
const host = new TsvRunnerHost ( ) ;
You can’t perform that action at this time.
0 commit comments