Missed one feedback item from https://github.com/flutter/engine/pull/3982 (flutter/engine#3996)
This commit is contained in:
committed by
GitHub
parent
1e5a61b584
commit
e859ef3093
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user