Skip to content

Commit

Permalink
Merge pull request #1116 from contentstack/fix/CS-42162
Browse files Browse the repository at this point in the history
Fix: cm:assets:publish command not working as expected
  • Loading branch information
antonyagustine authored Oct 19, 2023
2 parents 95bc9ab + a3b478c commit c262ac4
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async function getAssets(stack, folder, bulkPublish, environments, locale, apiVe
environments: environments,
locale,
stack: stack,
apiVersion
apiVersion,
});
bulkPublishSet = [];
}
Expand All @@ -63,7 +63,7 @@ async function getAssets(stack, folder, bulkPublish, environments, locale, apiVe
environments: environments,
locale,
stack: stack,
apiVersion
apiVersion,
});
bulkPublishSet = [];
}
Expand All @@ -83,6 +83,8 @@ async function getAssets(stack, folder, bulkPublish, environments, locale, apiVe
}
await getAssets(stack, folder, bulkPublish, environments, locale, apiVersion, skip);
return resolve();
} else {
resolve();
}
})
.catch((error) => {
Expand Down

0 comments on commit c262ac4

Please sign in to comment.