Skip to content

Commit

Permalink
fix: hasSourceURL need to be true when sourceMapURL is not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
GrinZero committed Nov 19, 2024
1 parent 9edf6e3 commit 6c0f3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/network-debugger/src/fork/resource-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class ResourceService {
embedderName: fileUrl.href,
scriptId: scriptIdStr,
sourceMapURL: sourceMapURL,
hasSourceURL: false
hasSourceURL: Boolean(sourceMapURL)
})
this.scriptMap.addMapping(url, scriptIdStr)
}
Expand Down

0 comments on commit 6c0f3d2

Please sign in to comment.