Skip to content

Commit

Permalink
build(release): compile new build 4.1.3 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Sep 11, 2024
1 parent 4eb51ad commit 71066f8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39048,8 +39048,7 @@ Object.defineProperty(exports, "MissingRefError", { enumerable: true, get: funct
var type = "object";
var required = [
"format_version",
"terraform_version",
"resource_changes"
"terraform_version"
];
var properties = {
format_version: {
Expand Down Expand Up @@ -47047,7 +47046,7 @@ var terraformUnidiff = function (plan) {

const patches = [];

for (const resource of plan.resource_changes) {
for (const resource of plan?.resource_changes || []) {
// skip early
if (resource.change.actions.includes('no-op')) continue

Expand All @@ -47067,7 +47066,7 @@ var terraformUnidiff = function (plan) {
};

// const summary = [...plan.resource_changes, ...plan.resource_drift].reduce((counter, { change: { actions } }) => {
const summary = plan.resource_changes.reduce((counter, { change: { actions } }) => {
const summary = (plan?.resource_changes || []).reduce((counter, { change: { actions } }) => {
for (const action of actions) {
switch (action) {
case 'create':
Expand Down

0 comments on commit 71066f8

Please sign in to comment.