Remove unrelated changes
This commit is contained in:
parent
57fb5fa67b
commit
00398d6c9e
|
@ -605,6 +605,8 @@ namespace ts {
|
|||
return getWScriptSystem();
|
||||
}
|
||||
else if (typeof process !== "undefined" && process.nextTick && !process.browser && typeof require !== "undefined") {
|
||||
// process and process.nextTick checks if current environment is node-like
|
||||
// process.browser check excludes webpack and browserify
|
||||
return getNodeSystem();
|
||||
}
|
||||
else if (typeof ChakraHost !== "undefined") {
|
||||
|
|
|
@ -1593,7 +1593,7 @@ namespace Harness {
|
|||
return { unitName: libFile, content: io.readFile(libFile) };
|
||||
}
|
||||
|
||||
if (Error) (<any>Error).stackTraceLimit = 25;
|
||||
if (Error) (<any>Error).stackTraceLimit = 1;
|
||||
}
|
||||
|
||||
// TODO: not sure why Utils.evalFile isn't working with this, eventually will concat it like old compiler instead of eval
|
||||
|
|
|
@ -2188,6 +2188,7 @@ namespace ts {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -2370,7 +2371,6 @@ namespace ts {
|
|||
|
||||
// skip open bracket
|
||||
token = scanner.scan();
|
||||
|
||||
let i = 0;
|
||||
// scan until ']' or EOF
|
||||
while (token !== SyntaxKind.CloseBracketToken && token !== SyntaxKind.EndOfFileToken) {
|
||||
|
|
Loading…
Reference in a new issue