Skip to content

Commit

Permalink
return promise from publish update command.
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur2136 committed Apr 8, 2024
1 parent 344f7e1 commit d349f05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions packages/cli/src/CliSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ export const createPublisherCliCmd = createCliCmd

showMessage("Success", resultText);
}
process.exit()
});
});

Expand Down Expand Up @@ -152,7 +151,6 @@ export const createAppCliCmd = createCliCmd

showMessage("Success", resultText);
}
process.exit()
});
});

Expand Down Expand Up @@ -205,7 +203,6 @@ export const createReleaseCliCmd = createCliCmd

showMessage("Success", resultText);
}
process.exit()
});
}
);
Expand Down Expand Up @@ -238,7 +235,6 @@ mainCli
buildToolsPath: resolvedBuildToolsPath,
});
}
process.exit()
});
});

Expand Down Expand Up @@ -311,7 +307,6 @@ publishCommand
const resultText = "Successfully submitted to the Solana Mobile dApp publisher portal";
showMessage("Success", resultText);
}
process.exit()
});
}
);
Expand Down Expand Up @@ -385,7 +380,6 @@ publishCommand
showMessage("Success", resultText);
}
});
process.exit()
}
);

Expand Down Expand Up @@ -451,7 +445,6 @@ publishCommand
const resultText = "dApp successfully removed from the publisher portal";
showMessage("Success", resultText);
}
process.exit()
})
}
);
Expand Down Expand Up @@ -512,7 +505,6 @@ publishCommand
const resultText = "Support request sent successfully";
showMessage("Success", resultText);
}
process.exit()
});
}
);
2 changes: 1 addition & 1 deletion packages/core/src/publish/PublishCoreUpdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,5 +140,5 @@ export const publishUpdate = async (
requestorIsAuthorized,
criticalUpdate);

submitRequestToSolanaDappPublisherPortal(updateRequest, URL_FORM_UPDATE, dryRun);
return submitRequestToSolanaDappPublisherPortal(updateRequest, URL_FORM_UPDATE, dryRun);
};

0 comments on commit d349f05

Please sign in to comment.