Skip to content

Commit f9e75ff

Browse files
Fix linting issues
1 parent 48871ec commit f9e75ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/util/url.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1+
'use strict';
2+
13
// url.resolve is deprecated because it invokes the deprecated url.parse() internally
24
// https://nodejs.org/api/url.html#urlresolvefrom-to
3-
module.exports.resolve = function (from, to) {
5+
module.exports.resolve = function(from, to) {
46
const resolvedUrl = new URL(to, new URL(from, 'resolve://'));
57
if (resolvedUrl.protocol === 'resolve:') {
68
// `from` is a relative URL.

0 commit comments

Comments
 (0)