cob-cli 2.35.2 → 2.35.3
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.
|
@@ -148,14 +148,14 @@ async function applyCustomizations(customizationRepos) {
|
|
|
148
148
|
|
|
149
149
|
// Apply specific customization, if actions exist, otherwise use default actions
|
|
150
150
|
if (customization.actions) {
|
|
151
|
-
customization.actions(customizationRepo.name, answers, copyAndMerge);
|
|
151
|
+
await customization.actions(customizationRepo.name, answers, copyAndMerge);
|
|
152
152
|
} else {
|
|
153
153
|
// Default actions
|
|
154
154
|
await copyAndMerge(customizationRepo.name, customizationDir, answers);
|
|
155
155
|
}
|
|
156
156
|
|
|
157
157
|
// Update customizations.json file
|
|
158
|
-
updateCustomizationsVersions(customizationRepo.name, customization.version);
|
|
158
|
+
await updateCustomizationsVersions(customizationRepo.name, customization.version);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
|
|
@@ -247,7 +247,7 @@ async function mergeFiles(block) {
|
|
|
247
247
|
let mergeFileContent = fs.readFileSync(mergeFile).toString();
|
|
248
248
|
// With comments we support JS, CSS, GROOVY
|
|
249
249
|
let startStr = "/* COB-CLI START " + blockMark + " */\n";
|
|
250
|
-
let endStr = "\n/* COB-CLI END " + blockMark + "
|
|
250
|
+
let endStr = "\n/* COB-CLI END " + blockMark + " */";
|
|
251
251
|
|
|
252
252
|
if (prodFileContent.indexOf(startStr) < 0) {
|
|
253
253
|
// If previous customization does not exist
|
package/package.json
CHANGED