cob-cli 2.39.7 → 2.39.9

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.
@@ -186,11 +186,11 @@ function copyAndMerge(customizationRepoName, source, substitutions = {}) {
186
186
  {
187
187
  clobber: true,
188
188
  filter: (src) => src.match(excludedFiles) == null,
189
- rename: function(target) {
189
+ rename: function(target) {
190
190
  // Don't rename __MERGE__ templates, they will be handled by the merge method
191
191
  if (target.match(/__MERGE__/)) {
192
192
  const newTmpName = target.replace(/__MERGE__/, customizationRepoName+"__MERGE__")
193
- filesToMerge.push(newTmpName)
193
+ filesToMerge.push({name:newTmpName, block: customizationRepoName})
194
194
  return newTmpName
195
195
  };
196
196
 
@@ -226,7 +226,7 @@ function copyAndMerge(customizationRepoName, source, substitutions = {}) {
226
226
  while(filesToMerge.length > 0) {
227
227
  let file = filesToMerge.pop();
228
228
  //Allow a little time for file to be written to disk
229
- setTimeout( () => mergeFiles(customizationRepoName, file), 200)
229
+ setTimeout( () => mergeFiles(file.block, file.name), 200)
230
230
  }
231
231
  }
232
232
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cob-cli",
3
- "version": "2.39.7",
3
+ "version": "2.39.9",
4
4
  "description": "A command line utility to help Cult of Bits partners develop with higher speed and reusing common code and best practices.",
5
5
  "preferGlobal": true,
6
6
  "repository": {