Skip to content
Snippets Groups Projects
Commit 3253317f authored by rnystrom@google.com's avatar rnystrom@google.com Committed by Natalie Weizenbaum
Browse files

Add a missing .url.

BUG=

Review URL: https://codereview.chromium.org//553073002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@40043 260f80e4-7a28-3924-810f-c04153c831b5
parent 1a3c2afb
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ String _translateAsyncAwait(String sourcePath, String source) {
String _fixDart2jsImports(String sourcePath, String source, String destPath) {
var compilerDir = p.url.join(sourceUrl, "../compiler");
var relative = p.url.relative(compilerDir,
from: p.dirname(p.toUri(destPath).toString()));
from: p.url.dirname(p.toUri(destPath).toString()));
return source.replaceAll(_compilerPattern, "import '$relative");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment