mirror of
https://github.com/webrecorder/browsertrix-crawler.git
synced 2025-10-19 06:23:16 +00:00
simplify
This commit is contained in:
parent
34069eaaf9
commit
ec71cfeef6
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ export class WARCWriter implements IndexerOffsetLength {
|
|||
this.filename = this._initNewFile();
|
||||
}
|
||||
|
||||
let fh: Writable | null = this.fh;
|
||||
let fh = this.fh;
|
||||
|
||||
if (!fh) {
|
||||
fh = fs.createWriteStream(path.join(this.archivesDir, this.filename));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue