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 ae9fcc9 commit 25b4a87Copy full SHA for 25b4a87
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@mhlabs/evb-cli",
3
- "version": "1.1.39",
+ "version": "1.1.40",
4
"description": "A package for building EventBridge/CloudWatch Events patterns",
5
"main": "index.js",
6
"scripts": {
src/commands/local/listeners/localPatternListener.js
@@ -21,9 +21,9 @@ const intrinsicFunctions = [
21
"Ref",
22
];
23
let output = console;
24
-function findAllKeys(obj, keyArray) {
25
- keyArray.push(...Object.keys(obj));
26
- for (const prop of Object.keys(obj)) {
+function findAllKeys(obj, keyArray) {
+ keyArray.push(...Object.keys(obj || {}));
+ for (const prop of Object.keys(obj || {})) {
27
if (
28
!obj[prop] ||
29
typeof obj[prop] !== "object" ||
0 commit comments