diff --git a/source-map-support.js b/source-map-support.js index fa70d18..88c25eb 100644 --- a/source-map-support.js +++ b/source-map-support.js @@ -19,6 +19,8 @@ function isInBrowser() { } function retrieveFile(path) { + // Trim the path to make sure there is no extra whitespace. + path = path.trim(); if (path in fileContentsCache) { return fileContentsCache[path]; }