generated from ztimson/template
Fixed typo
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ztimson/zim-utils",
|
"name": "@ztimson/zim-utils",
|
||||||
"version": "0.4.0",
|
"version": "0.4.1",
|
||||||
"description": "Native, dependency-light ZIM archive reader/searcher and Kiwix catalog downloader for Node.js",
|
"description": "Native, dependency-light ZIM archive reader/searcher and Kiwix catalog downloader for Node.js",
|
||||||
"author": "Zak Timson",
|
"author": "Zak Timson",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
|||||||
+1
-1
@@ -107,7 +107,7 @@ export class ZimManager {
|
|||||||
const file = match.href + (match.href.endsWith('.zim') ? '' : '.zim');
|
const file = match.href + (match.href.endsWith('.zim') ? '' : '.zim');
|
||||||
await fs.promises.rm(path.join(this.#dir, file), {force: true});
|
await fs.promises.rm(path.join(this.#dir, file), {force: true});
|
||||||
await this.#ensureServer();
|
await this.#ensureServer();
|
||||||
await this.#waitUntilVicsible(file, {expect: false});
|
await this.#waitUntilVisible(file, {expect: false});
|
||||||
return {file: match.file, status: 'deleted'};
|
return {file: match.file, status: 'deleted'};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user