mirror of
https://github.com/webrecorder/browsertrix-crawler.git
synced 2025-12-07 13:49:47 +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,
|
||||
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 filename =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue