gen-api: module names with forward slashes on Windows too (the tables were stale on Linux CI)
This commit is contained in:
parent
54451c87c8
commit
4933279987
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ function listTs(dir: string): string[] {
|
|||
}
|
||||
|
||||
export function scanCli(root = ROOT): CallSite[] {
|
||||
return listTs(join(root, 'cli')).flatMap(p => scanSource(relative(join(root, 'cli'), p).replace(/\.ts$/, ''), readFileSync(p, 'utf8')));
|
||||
return listTs(join(root, 'cli')).flatMap(p => scanSource(relative(join(root, 'cli'), p).replaceAll('\\', '/').replace(/\.ts$/, ''), readFileSync(p, 'utf8')));
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------------------------------------- output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue