broccoli-merge-trees
Advanced tools
Comparing version 2.0.0 to 2.0.1
13
index.js
@@ -21,2 +21,3 @@ 'use strict'; | ||
}); | ||
this.inputNodes = inputNodes; | ||
this.options = options; | ||
@@ -35,3 +36,13 @@ } | ||
this.mergeTrees.merge(); | ||
try { | ||
this.mergeTrees.merge(); | ||
} catch(err) { | ||
if (err !== null && typeof err === 'object') { | ||
let nodesList = this.inputNodes.map((node, i) => ` ${i+1}. ${node.toString()}`).join('\n'); | ||
let message = `${this.toString()} error while merging the following:\n${nodesList}`; | ||
err.message = `${message}\n${err.message}`; | ||
} | ||
throw err; | ||
} | ||
}; |
{ | ||
"name": "broccoli-merge-trees", | ||
"description": "Broccoli plugin to merge multiple trees into one", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "Jo Liss <joliss42@gmail.com>", | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6771
41
0