mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-06 12:32:12 -06:00
Fix web test server for new repo
This commit is contained in:
parent
b32d836a61
commit
58067891f1
@ -62,7 +62,7 @@ function dir(path: string, spec?: string, options?: any) {
|
||||
if (options.recursive && stat.isDirectory()) {
|
||||
paths = paths.concat(filesInFolder(folder + "/" + files[i]));
|
||||
} else if (stat.isFile() && (!spec || files[i].match(spec))) {
|
||||
var relativePath = folder.substring(folder.indexOf('/typescript/') + 12);
|
||||
var relativePath = folder.substring(folder.indexOf('/TypeScript/') + 12);
|
||||
paths.push(relativePath + "/" + files[i]);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user