diff --git a/package.json b/package.json index eba9cb8..6158278 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "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", "author": "Zak Timson", "license": "MIT", diff --git a/src/manager.js b/src/manager.js index 9d77472..c0a4d11 100644 --- a/src/manager.js +++ b/src/manager.js @@ -107,7 +107,7 @@ export class ZimManager { const file = match.href + (match.href.endsWith('.zim') ? '' : '.zim'); await fs.promises.rm(path.join(this.#dir, file), {force: true}); await this.#ensureServer(); - await this.#waitUntilVicsible(file, {expect: false}); + await this.#waitUntilVisible(file, {expect: false}); return {file: match.file, status: 'deleted'}; }