mod-build 4.0.31 → 4.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/package.json +1 -1
- package/tasks/grab-form-helpers.js +2 -2
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -44,7 +44,7 @@ const streamToDestination = (destPath, fileName) => {
|
|
|
44
44
|
throw new Error(`${resp.status}: Error while fetching ${url}`);
|
|
45
45
|
}
|
|
46
46
|
resp.data.pipe(writer);
|
|
47
|
-
console.log(`${destPath}
|
|
47
|
+
console.log(`${destPath}${fileName} created...`);
|
|
48
48
|
return finished(writer);
|
|
49
49
|
}).then(() => {
|
|
50
50
|
resolve();
|
|
@@ -95,7 +95,7 @@ export default async function() {
|
|
|
95
95
|
const destinationPath = '/resources/scripts/helpers/';
|
|
96
96
|
const filesPromiseMap = helpers.map(async helper => {
|
|
97
97
|
const fileName = helper;
|
|
98
|
-
if (fs.existsSync(`${defaultSettings.publicFolder}/${destinationPath}
|
|
98
|
+
if (fs.existsSync(`${defaultSettings.publicFolder}/${destinationPath}${fileName}`)) {
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
101
101
|
await streamToDestination(destinationPath, fileName);
|