Skip to content

Commit

Permalink
lib: fix trailing commas and leftover function from rebasing
Browse files Browse the repository at this point in the history
PR-URL: #47503
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
  • Loading branch information
danielleadams committed Apr 11, 2023
1 parent 8ea8354 commit 62cbddd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions lib/internal/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const {
kPathStart,
kPort,
kQuery,
kSchemeStart
kSchemeStart,
} = internalBinding('url');

const {
Expand Down Expand Up @@ -641,10 +641,6 @@ function onParseHashComplete(flags, protocol, username, password,
this[context].fragment = fragment;
}

function isURLThis(self) {
return (self !== undefined && self !== null && self[context] !== undefined);
}

class URL {
constructor(input, base = undefined) {
// toUSVString is not needed.
Expand Down Expand Up @@ -718,7 +714,7 @@ class URL {
unicode: false,
search: true,
auth: true,
...options
...options,
};
const ctx = this[context];
// https://url.spec.whatwg.org/#url-serializing
Expand Down
2 changes: 1 addition & 1 deletion lib/timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const {

const {
immediateInfo,
toggleImmediateRef
toggleImmediateRef,
} = internalBinding('timers');
const L = require('internal/linkedlist');
const {
Expand Down

0 comments on commit 62cbddd

Please sign in to comment.