This commit is contained in:
Alexander Aprelev
2017-08-21 17:41:16 -07:00
committed by GitHub
parent 1e5a61b584
commit e859ef3093

View File

@@ -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);