We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6fa0d7 commit a9df5e1Copy full SHA for a9df5e1
symbolic-debuginfo/src/sourcebundle.rs
@@ -428,11 +428,7 @@ impl<'a> SourceFileDescriptor<'a> {
428
fn discover_sourcemaps_location(contents: &str) -> Option<&str> {
429
for line in contents.lines().rev() {
430
if line.starts_with("//# sourceMappingURL=") || line.starts_with("//@ sourceMappingURL=") {
431
- let possible_sourcemap = line[21..].trim();
432
- if possible_sourcemap.starts_with("data:application/json") {
433
- return None;
434
- }
435
- return Some(possible_sourcemap);
+ return Some(line[21..].trim());
436
}
437
438
None
0 commit comments