chofex-cli 0.1.45 → 0.1.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -59562,9 +59562,10 @@ var requirementsText = (result3) => {
59562
59562
  if (requirements.stage === "review")
59563
59563
  return "No action needed while your application is reviewed.";
59564
59564
  let feedback = "";
59565
- if (requirements.rejectionReason) {
59565
+ const rejectionReason = requirements.rejectionReason ?? registration.rejectionReason;
59566
+ if (rejectionReason) {
59566
59567
  feedback = `
59567
- Review feedback: ${requirements.rejectionReason}`;
59568
+ Review feedback: ${rejectionReason}`;
59568
59569
  }
59569
59570
  let nextCommand = "";
59570
59571
  if (requirements.stage === "accepted") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chofex-cli",
3
- "version": "0.1.45",
3
+ "version": "0.1.46",
4
4
  "description": "Command-line client for the Chofex Hackathon",
5
5
  "type": "module",
6
6
  "bin": {