mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
Fix RWC - use replayLog, not recordLog (#18095)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user