Fix web test server for new repo

This commit is contained in:
Dan Quirk 2014-07-17 15:34:48 -07:00
parent b32d836a61
commit 58067891f1

View File

@ -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]);
}
}