From 9f5b20ef509c2312d2766466c0efb89c529ddac5 Mon Sep 17 00:00:00 2001 From: guowei <2644572487@qq.com> Date: Sat, 14 Dec 2019 22:03:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E4=BB=8Ewindow=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E4=B8=8A=E4=BC=A0=E6=97=B6=E8=B7=AF=E5=BE=84=E8=A7=A3?= =?UTF-8?q?=E6=9E=90=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/publish.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/publish.js b/lib/publish.js index 15a945a..11194fd 100644 --- a/lib/publish.js +++ b/lib/publish.js @@ -92,9 +92,9 @@ class Publish { // await Promise.all(files.map(async file => { // const stat = await promisify(fs.stat).call(fs, path.resolve(from, file)); // if (stat.isDirectory()) { - // await this.uploadDir(path.resolve(from, file), path.resolve(dest, file)) + // await this.uploadDir(path.resolve(from, file), dest + "/" + file) // } else if (stat.isFile()) { - // await this.uploadFile(path.resolve(from, file), path.resolve(dest, file)); + // await this.uploadFile(path.resolve(from, file), dest + "/" + file); // } // })); }