Skip to content

Commit c5f0215

Browse files
committed
fix obsolete code
1 parent 314c5ad commit c5f0215

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/utils.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,9 +283,7 @@ var getHead = function(url, options, callbacks) {
283283
redirect: redirect,
284284
follow: follow
285285
// No abort controller for head.
286-
}, {
287-
...options
288-
});
286+
}, options);
289287

290288
try {
291289
fetchStreamAuthorized(request_options)
@@ -633,7 +631,6 @@ export function findMainLdObjectWithVideo(ld) {
633631
}
634632

635633
getUrlFunctional(uri, {
636-
637634
timeout: options.timeout || CONFIG.RESPONSE_TIMEOUT,
638635
asBuffer: true
639636
}, {

0 commit comments

Comments
 (0)