Skip to content

Commit 62cbddd

Browse files
committed
lib: fix trailing commas and leftover function from rebasing
PR-URL: #47503 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]>
1 parent 8ea8354 commit 62cbddd

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

lib/internal/url.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const {
109109
kPathStart,
110110
kPort,
111111
kQuery,
112-
kSchemeStart
112+
kSchemeStart,
113113
} = internalBinding('url');
114114

115115
const {
@@ -641,10 +641,6 @@ function onParseHashComplete(flags, protocol, username, password,
641641
this[context].fragment = fragment;
642642
}
643643

644-
function isURLThis(self) {
645-
return (self !== undefined && self !== null && self[context] !== undefined);
646-
}
647-
648644
class URL {
649645
constructor(input, base = undefined) {
650646
// toUSVString is not needed.
@@ -718,7 +714,7 @@ class URL {
718714
unicode: false,
719715
search: true,
720716
auth: true,
721-
...options
717+
...options,
722718
};
723719
const ctx = this[context];
724720
// https://url.spec.whatwg.org/#url-serializing

lib/timers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const {
3030

3131
const {
3232
immediateInfo,
33-
toggleImmediateRef
33+
toggleImmediateRef,
3434
} = internalBinding('timers');
3535
const L = require('internal/linkedlist');
3636
const {

0 commit comments

Comments
 (0)