We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e56805 commit a2d8372Copy full SHA for a2d8372
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@mhlabs/cfn-diagram",
3
- "version": "1.1.11",
+ "version": "1.1.12",
4
"description": "CLI tool to visualise CloudFormation templates as draw.io or HTML diagrams",
5
"main": "index.js",
6
"scripts": {
resources/JsonUtil.js
@@ -1,7 +1,7 @@
function createPseudoResources(template, current) {
current = current || template.Resources;
for (var k in current) {
- if (current[k]["Fn::Join"]) {
+ if (current[k] && current[k]["Fn::Join"]) {
const joinList = current[k]["Fn::Join"][1]
current[k] = (Array.isArray(joinList) ? joinList : [joinList]).join(current[k]["Fn::Join"][0]);
7
}
0 commit comments