Skip to content
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

feat: allow to deploy bot with email and password throw cli #470

Merged
merged 2 commits into from
Jan 23, 2020

Conversation

guinii
Copy link
Contributor

@guinii guinii commented Jan 21, 2020

No description provided.

packages/botonic-cli/src/commands/deploy.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@vanbasten17 vanbasten17 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job @guinii ! 🙌

Comment on lines 65 to 66
let email = flags.email ? flags.email : undefined
let password = flags.password ? flags.password : undefined
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here as Dani suggest above. I'm wondering if we could update @botonic/cli to latest typescript versions to use the newest features/syntax as for example https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#nullish-coalescing

Copy link
Contributor

@dpinol dpinol Jan 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vanbasten17 good point, actually cli already uses 3.7!
actually I'm not sure why @guinii converts the empty values to undefined

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both of you are right! I change the declaration! Thanks guys

@guinii guinii merged commit 2eec24f into master Jan 23, 2020
@guinii guinii deleted the feat/deploy-with-password branch January 23, 2020 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants