mirror of
https://github.com/webrecorder/browsertrix-crawler.git
synced 2025-12-08 06:09:48 +00:00
Fix linting following external contribution (#911)
Quick-follow to
7dd13a9ec4,
to fix linting issue introduced in that PR.
This commit is contained in:
parent
b50ef1230f
commit
11f52db31e
1 changed files with 3 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ async function writeUrlContentsToFile(
|
||||||
pathDefaultExt: string,
|
pathDefaultExt: string,
|
||||||
useProxy: boolean = false,
|
useProxy: boolean = false,
|
||||||
) {
|
) {
|
||||||
const res = await fetch(url, { dispatcher: useProxy ? getProxyDispatcher(url) : undefined });
|
const res = await fetch(url, {
|
||||||
|
dispatcher: useProxy ? getProxyDispatcher(url) : undefined,
|
||||||
|
});
|
||||||
const fileContents = await res.text();
|
const fileContents = await res.text();
|
||||||
|
|
||||||
const filename =
|
const filename =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue