mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 16:38:05 -06:00
Fix RWC - use replayLog, not recordLog (#18095)
This commit is contained in:
parent
934da9fb39
commit
3ea031cf1c
@ -251,7 +251,12 @@ namespace Playback {
|
||||
underlying.exit(exitCode);
|
||||
};
|
||||
|
||||
wrapper.useCaseSensitiveFileNames = () => !!recordLog.useCaseSensitiveFileNames;
|
||||
wrapper.useCaseSensitiveFileNames = () => {
|
||||
if (replayLog !== undefined) {
|
||||
return !!replayLog.useCaseSensitiveFileNames;
|
||||
}
|
||||
return typeof underlying.useCaseSensitiveFileNames === "function" ? underlying.useCaseSensitiveFileNames() : underlying.useCaseSensitiveFileNames;
|
||||
};
|
||||
}
|
||||
|
||||
function recordReplay<T extends Function>(original: T, underlying: any) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user