From e1df6d45aac99797d761a8214cda6ad4e4a951ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anthony=20Gu=C3=A9rot?= Date: Thu, 5 Nov 2020 22:09:50 +0100 Subject: [PATCH 1/2] fix(fs) remove double quotes from frame path --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index 7e8d85f..3ad4669 100755 --- a/cli.js +++ b/cli.js @@ -315,7 +315,7 @@ function downloadFrame(frame) { bar.tick(); - frame.path = path.join(frameCacheDir, frame.relPath); + frame.path = path.join(frameCacheDir, frame.relPath).replace(/\"/gi, ''); const downloadDir = path.parse(frame.path).dir; mkdirp.sync(downloadDir); From 055fa72f58fe9cdf5fdaa51bfce88aca29475fc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anthony=20Gu=C3=A9rot?= Date: Mon, 9 Nov 2020 21:53:18 +0100 Subject: [PATCH 2/2] fix: remove unecessary escape char in regex --- cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli.js b/cli.js index 3ad4669..1ae057b 100755 --- a/cli.js +++ b/cli.js @@ -315,7 +315,7 @@ function downloadFrame(frame) { bar.tick(); - frame.path = path.join(frameCacheDir, frame.relPath).replace(/\"/gi, ''); + frame.path = path.join(frameCacheDir, frame.relPath).replace(/"/gi, ''); const downloadDir = path.parse(frame.path).dir; mkdirp.sync(downloadDir);