Skip to content

Commit

Permalink
Merge pull request #1693 from blackflux/dev
Browse files Browse the repository at this point in the history
[Gally]: master <- dev
  • Loading branch information
simlu committed Aug 18, 2022
2 parents 5eb6160 + 30e3d33 commit cda9d4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -26,7 +26,7 @@ const hasTags = (tagsRaw) => {

const logic = {
'functions.*': ({ value }) => !hasTags(value.tags),
'resources.Resources.*': ({ value }) => resourceTypes.includes(value.Type) && !hasTags(value.Properties.Tags)
'resources.Resources.*': ({ value }) => resourceTypes.includes(value?.Type) && !hasTags(value?.Properties?.Tags)
};

const scan = objectScan(Object.keys(logic), {
Expand Down
Expand Up @@ -26,7 +26,7 @@ const hasTags = (tagsRaw) => {

const logic = {
'functions.*': ({ value }) => !hasTags(value.tags),
'resources.Resources.*': ({ value }) => resourceTypes.includes(value.Type) && !hasTags(value.Properties.Tags)
'resources.Resources.*': ({ value }) => resourceTypes.includes(value?.Type) && !hasTags(value?.Properties?.Tags)
};

const scan = objectScan(Object.keys(logic), {
Expand Down
Expand Up @@ -26,7 +26,7 @@ const hasTags = (tagsRaw) => {

const logic = {
'functions.*': ({ value }) => !hasTags(value.tags),
'resources.Resources.*': ({ value }) => resourceTypes.includes(value.Type) && !hasTags(value.Properties.Tags)
'resources.Resources.*': ({ value }) => resourceTypes.includes(value?.Type) && !hasTags(value?.Properties?.Tags)
};

const scan = objectScan(Object.keys(logic), {
Expand Down

0 comments on commit cda9d4b

Please sign in to comment.