We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c5b630a commit b91224fCopy full SHA for b91224f
lib/internal/bootstrap/pre_execution.js
@@ -362,7 +362,7 @@ function initializePolicy() {
362
// no bare specifiers for now
363
let manifestURL;
364
if (require('path').isAbsolute(experimentalPolicy)) {
365
- manifestURL = new URL(experimentalPolicy, 'file://');
+ manifestURL = new URL(`file://${experimentalPolicy}`);
366
} else {
367
const cwdURL = pathToFileURL(process.cwd());
368
cwdURL.pathname += '/';
0 commit comments