提交 d5fe823e 编写于 作者: C Chris Bracken

Do not convert the package map to an absolute path

Package map entries can contain relative paths.
See related commit: d7d99c62
上级 574d72fe
......@@ -68,7 +68,7 @@ DartLibraryProviderFiles::~DartLibraryProviderFiles() {
}
void DartLibraryProviderFiles::LoadPackagesMap(const base::FilePath& packages) {
packages_ = base::MakeAbsoluteFilePath(packages);
packages_ = packages;
std::string packages_source;
if (!base::ReadFileToString(packages_, &packages_source)) {
LOG(ERROR) << "error: Unable to load .packages file '"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册