提交 c4ac5fe9 编写于 作者: A Alexander Aprelev 提交者: GitHub

Missed one feedback item from https://github.com/flutter/engine/pull/3982 (#3996)

上级 e260e35d
......@@ -152,6 +152,8 @@ class _FrontendCompiler implements CompilerInterface {
}
Uri _ensureFolderPath(String path) {
// This is a URI, not a file path, so the forward slash is correct even
// on Windows.
if (!path.endsWith('/'))
path = '$path/';
return Uri.base.resolve(path);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册