From db636c921097ec307e699708385829dcf7660974 Mon Sep 17 00:00:00 2001 From: Jose De Gouveia Date: Thu, 4 May 2023 14:53:12 +0200 Subject: [PATCH] incremented version --- package.json | 2 +- src/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index ac04f58..ad416d9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-downloader-helper", - "version": "2.1.6", + "version": "2.1.7", "description": "A simple http/s file downloader for node.js", "main": "./dist/index.js", "types": "./types/index.d.ts", diff --git a/src/index.js b/src/index.js index 788721a..1588a8c 100644 --- a/src/index.js +++ b/src/index.js @@ -433,7 +433,7 @@ export class DownloaderHelper extends EventEmitter { clearTimeout(this.__retryTimeout); this.__retryTimeout = null; } - + this.__request = this.__downloadRequest(this.__promise.resolve, this.__promise.reject); // Error Handling