Skip to content

Commit

Permalink
fix: added a friendly message asking for terms acceptance. (#524)
Browse files Browse the repository at this point in the history
  • Loading branch information
florind-ens authored Mar 31, 2022
1 parent ba4b60f commit 983a617
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/commands/app/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ class InitCommand extends AddCommand {
const isTermAccepted = await consoleCLI.checkDevTermsForOrg(orgId)
if (!isTermAccepted) {
const terms = await consoleCLI.getDevTermsForOrg()
const confirmDevTerms = await consoleCLI.prompt.promptConfirm(terms.text)
const confirmDevTerms = await consoleCLI.prompt.promptConfirm(`${terms.text}
\nDo you agree with the new Developer Terms?`)
if (!confirmDevTerms) {
this.error('The Developer Terms of Service were declined')
} else {
Expand Down

0 comments on commit 983a617

Please sign in to comment.