Skip to content

Commit c0491dc

Browse files
committed
fix backward compatibility in get-source (breaks panic-overlay)
1 parent 4c41851 commit c0491dc

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

get-source.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ function impl (fetchFile, sync) {
117117
const noFile = {
118118
path,
119119
text: '',
120+
lines: [],
120121
error: e,
121122
resolve (loc) {
122123
return assign ({}, loc, { error: e, sourceLine: '', sourceFile: noFile })

0 commit comments

Comments
 (0)