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

Disable newsletter from the CLI #892

Merged
merged 6 commits into from Feb 19, 2022
Merged

Disable newsletter from the CLI #892

merged 6 commits into from Feb 19, 2022

Conversation

SantosGuillamot
Copy link
Member

The purpose of this PR is to disable the newsletter from the CLI. What I did:

  • Stop asking the users to subscribe after running npx frontity create.
  • Throw an error if anyone runs npx frontity subscribe.

I wasn't sure if throwing an error is the best idea or we should just log a message.

Moreover, I didn't know how to test it so I hope I'm not breaking anything.

@changeset-bot
Copy link

changeset-bot bot commented Feb 16, 2022

🦋 Changeset detected

Latest commit: d347626

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@luisherranz
Copy link
Member

Thanks, Mario.

I'll look into the test failures in #890 before revirewing/merging this.

Copy link
Member

@luisherranz luisherranz left a comment

Choose a reason for hiding this comment

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

Everything perfect. Thanks, Mario! 🙂

@luisherranz luisherranz merged commit 71e41a3 into dev Feb 19, 2022
@luisherranz luisherranz deleted the disable-newsletter branch February 19, 2022 10:03
@frontibotito frontibotito mentioned this pull request Feb 19, 2022
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

2 participants