FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix source map decoding to handle case sensitivity and --out option by sheetalkamat · Pull Request #28273 · microsoft/TypeScript · GitHub

Fix source map decoding to handle case sensitivity and --out option - #28273

Merged
Sheetal Nandi (sheetalkamat) merged 2 commits into
masterfrom
buildSourceMapNavigation
Nov 1, 2018
Merged

Fix source map decoding to handle case sensitivity and --out option#28273
Sheetal Nandi (sheetalkamat) merged 2 commits into
masterfrom
buildSourceMapNavigation

Conversation

Copy link
Copy Markdown
Member

Discovered while working on #28261

Sheetal Nandi (sheetalkamat) deleted the buildSourceMapNavigation branch November 1, 2018 01:13
targetIndex = ~targetIndex;
}
if (!maps[targetIndex] || comparePaths(loc.fileName, maps[targetIndex].sourcePath, sourceRoot) !== 0) {
if (!maps[targetIndex] || comparePaths(loc.fileName, maps[targetIndex].sourcePath, sourceRoot, !host.useCaseSensitiveFileNames) !== 0) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Should that ignoreCase parameter in comparePaths be mandatory?

It doesn't look like is EVER safe to assume 'ignore case' without consulting the actual host parameter.

Microsoft (microsoft) locked as resolved and limited conversation to collaborators Oct 21, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL