Skip to content
This repository was archived by the owner on Jul 13, 2020. It is now read-only.

Commit 2e44cef

Browse files
committed
fix resolve error message
1 parent 6a948d5 commit 2e44cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/resolve.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { isNode } from './common.js';
33
/*
44
* Optimized URL normalization assuming a syntax-valid URL parent
55
*/
6-
function throwResolveError () {
6+
function throwResolveError (relUrl, parentUrl) {
77
throw new RangeError('Unable to resolve "' + relUrl + '" to ' + parentUrl);
88
}
99
export function resolveIfNotPlain (relUrl, parentUrl) {

0 commit comments

Comments
 (0)