From 0213d506d92c4d558a4dfd956096f9c17cad25a1 Mon Sep 17 00:00:00 2001 From: Jan Decavele Date: Fri, 25 Oct 2019 12:13:31 +0200 Subject: [PATCH 1/2] Consider configured base path when copying files --- lib/gulp/copy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gulp/copy.js b/lib/gulp/copy.js index 725de3f..1ba8edb 100644 --- a/lib/gulp/copy.js +++ b/lib/gulp/copy.js @@ -15,7 +15,7 @@ function copy(cb) { // Add all dest files/folders to folders array config.copy.forEach(location => { - c(location.src, location.dest, (err, files) => { + c(config.src_base_path + location.src, config.src_base_path + location.dest, (err, files) => { if (err) { throw err; } From 93f9176bde4d79c3ae5869047f59579411317db7 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Fri, 25 Oct 2019 13:12:45 +0200 Subject: [PATCH 2/2] Fix dest path --- lib/gulp/copy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gulp/copy.js b/lib/gulp/copy.js index 1ba8edb..48e291c 100644 --- a/lib/gulp/copy.js +++ b/lib/gulp/copy.js @@ -15,7 +15,7 @@ function copy(cb) { // Add all dest files/folders to folders array config.copy.forEach(location => { - c(config.src_base_path + location.src, config.src_base_path + location.dest, (err, files) => { + c(config.src_base_path + location.src, config.dest_base_path + location.dest, (err, files) => { if (err) { throw err; }