From 99ce99795af6fe21d95eb7e3b23e6f6030fd9b13 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Mon, 19 Apr 2021 14:14:24 +0000 Subject: [PATCH] fix(core): update --- ts/smartarchive.classes.smartarchive.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/smartarchive.classes.smartarchive.ts b/ts/smartarchive.classes.smartarchive.ts index c37cbe6..ae59db6 100644 --- a/ts/smartarchive.classes.smartarchive.ts +++ b/ts/smartarchive.classes.smartarchive.ts @@ -12,7 +12,7 @@ export class SmartArchive { public async extractArchiveFromUrlToFs(urlArg: string, targetDir: string) { const parsedPath = plugins.path.parse(urlArg); const uniqueFileName = plugins.smartunique.uni() + parsedPath.ext; - plugins.smartfile.fs.ensureDir(paths.nogitDir); + plugins.smartfile.fs.ensureDir(paths.nogitDir); // TODO: totally remove caching needs const downloadPath = plugins.path.join(paths.nogitDir, uniqueFileName); const downloadedArchive = (await plugins.smartrequest.getBinary(urlArg)).body; await plugins.smartfile.memory.toFs(downloadedArchive, downloadPath);