(path)
| 29 | } |
| 30 | |
| 31 | removeBasepath(path) { |
| 32 | if (this._sourceMapBasepath && path.indexOf(this._sourceMapBasepath) === 0) { |
| 33 | path = path.substring(this._sourceMapBasepath.length); |
| 34 | if (path.charAt(0) === '\\' || path.charAt(0) === '/') { |
| 35 | path = path.substring(1); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | return path; |
| 40 | } |
| 41 | |
| 42 | normalizeFilename(filename) { |
| 43 | filename = filename.replace(/\\/g, '/'); |
no outgoing calls
no test coverage detected