mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-14 19:16:17 -06:00
Remove unnecessary LineEndingSensitive option from BaselineOptions
This commit is contained in:
parent
08cffc598c
commit
a25534bd8d
@ -1610,7 +1610,6 @@ module Harness {
|
||||
export module Baseline {
|
||||
|
||||
export interface BaselineOptions {
|
||||
LineEndingSensitive?: boolean;
|
||||
Subfolder?: string;
|
||||
Baselinefolder?: string;
|
||||
}
|
||||
@ -1702,13 +1701,6 @@ module Harness {
|
||||
expected = IO.readFile(refFileName);
|
||||
}
|
||||
|
||||
var lineEndingInsensitive = opts && opts.LineEndingSensitive === false; // default is true
|
||||
|
||||
if (lineEndingInsensitive) {
|
||||
expected = expected.replace(/\r\n?/g, '\n');
|
||||
actual = actual.replace(/\r\n?/g, '\n');
|
||||
}
|
||||
|
||||
return { expected, actual };
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user