Fix #172206. Handle absolute path in outputs. (#173252)

This commit is contained in:
Peng Lyu
2023-02-02 23:05:34 -08:00
committed by GitHub
parent 1e55b31bda
commit a617587fe5
@@ -750,7 +750,11 @@ var requirejs = (function() {
this._handleResourceOpening(data.href);
} else {
// uri with scheme
this._openUri(URI.parse(data.href));
if (osPath.isAbsolute(data.href)) {
this._openUri(URI.file(data.href));
} else {
this._openUri(URI.parse(data.href));
}
}
break;
}