handle org-dartlang-augmentation uris

Bug: https://github.com/dart-lang/sdk/issues/53913
Change-Id: I40a1bba7a303977ddb6b47c2c7725895858e69b1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/333060
Auto-Submit: Jake Macdonald <jakemac@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
This commit is contained in:
Jake Macdonald 2023-10-31 16:10:38 +00:00 committed by Commit Queue
parent 3e7f464778
commit 26d4251bff

View file

@ -411,6 +411,11 @@ Map placeSourceMap(Map sourceMap, String sourceMapPath, String? multiRootScheme,
return sourcePath;
}
if (scheme == 'org-dartlang-augmentation') {
// TODO: https://github.com/dart-lang/sdk/issues/53913
return sourcePath;
}
if (uri.isScheme('http')) return sourcePath;
// Convert to a local file path if it's not.