-
Notifications
You must be signed in to change notification settings - Fork 16
Enh/endpoints integration #2206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: staging
Are you sure you want to change the base?
Conversation
| return selectedRegion; | ||
| } | ||
| } catch { | ||
| return undefined |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you handle error properly here, it will be hard debug the error in this
| cliux.success(`Personalize URL: ${regionDetails.personalizeUrl}`); | ||
| cliux.success(`Launch URL: ${regionDetails.launchHubUrl}`); | ||
| } catch { | ||
| cliux.error(`Invalid region is given`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Error has to be logged
| "test:unit": "mocha --forbid-only \"test/unit/**/*.test.ts\" --unit-test", | ||
| "test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\"" | ||
| "test:unit:report": "nyc --extension .ts mocha --forbid-only \"test/unit/**/*.test.ts\"", | ||
| "postinstall": "curl -s --max-time 30 --fail https://artifacts.contentstack.com/regions.json -o src/assets/regions.json || echo 'Warning: Failed to download regions.json, using existing file if available'", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this postinstall and post update script
No description provided.