Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kemmerle committed Jul 19, 2024
1 parent 575fa87 commit aa237bb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cli/commands/project/migrateApp.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ exports.handler = async options => {
let appName;
try {
const selectedApp = await fetchPublicAppMetadata(appId, accountId);
// preventProjectMigrations returns true if we have not added app to allowlist config.
// listingInfo will only exist for marketplace apps
const { preventProjectMigrations, listingInfo } = selectedApp;
if (preventProjectMigrations && listingInfo) {
logger.error(i18n(`${i18nKey}.errors.invalidApp`, { appId }));
Expand Down

0 comments on commit aa237bb

Please sign in to comment.