Do not convert the package map to an absolute path (flutter/engine#2712)
Package map entries can contain relative paths, and these paths will be based on the package map path as originally specified
This commit is contained in:
@@ -88,7 +88,7 @@ Loader::Loader() {
|
||||
}
|
||||
|
||||
void Loader::LoadPackagesMap(const base::FilePath& packages) {
|
||||
packages_ = base::MakeAbsoluteFilePath(packages);
|
||||
packages_ = packages;
|
||||
dependencies_.insert(packages_.AsUTF8Unsafe());
|
||||
std::string packages_source;
|
||||
if (!base::ReadFileToString(packages_, &packages_source)) {
|
||||
|
||||
Reference in New Issue
Block a user