Skip to content

Commit

Permalink
fix: remove file:// from error stack traces
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Nov 4, 2018
1 parent 44d775d commit ff24b69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export function parseStack (stack) {
.splice(1)
.map(l => l
.trim()
.replace('file://', '')
.replace(cwd, '')
)

Expand Down

0 comments on commit ff24b69

Please sign in to comment.