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

Allow users to disable update checks #358

Closed
wants to merge 1 commit into from
Closed

Allow users to disable update checks #358

wants to merge 1 commit into from

Conversation

RealOrangeOne
Copy link
Contributor

Fixes #279

This can speed up execution, reduce unnecessary network requests, and clean up log files.

I added the check in 2 places, to ensure both the prompt and update request are skipped.

Fixes #279

This can speed up execution, reduce unnecessary network requests, and clean up log files.
@salesforce-cla
Copy link

salesforce-cla bot commented Mar 1, 2023

Thanks for the contribution! Before we can merge this, we need @RealOrangeOne to sign the Salesforce.com Contributor License Agreement.

@RealOrangeOne
Copy link
Contributor Author

(CLA signed)

mdonnalley added a commit that referenced this pull request Oct 13, 2023
@mdonnalley mdonnalley mentioned this pull request Oct 13, 2023
mshanemc pushed a commit that referenced this pull request Oct 17, 2023
* feat!: migrate to ESM

BREAKING CHANGES: ESM and node 18 minimum

* feat: add SKIP_UPDATE_CHECK env var (#358)

* chore: bump @oclif/core

* feat: make warning frequency configurable

* feat: allow users to disable update checks

Fixes #279

This can speed up execution, reduce unnecessary network requests, and clean up log files.

* chore: code review

* test: add real tests

* chore: remove rogue console.log

* fix: use scoped env var

* chore: bump oclif/core

* chore: update dev.cmd

* chore: more code review

* chore(release): 2.1.2-qa.0 [skip ci]

* fix: use separate file for tracking last warning

* chore(release): 2.1.2-qa.1 [skip ci]

---------

Co-authored-by: Jake Howard <jake.howard@torchbox.com>
Co-authored-by: svc-cli-bot <svc_cli_bot@salesforce.com>
@RealOrangeOne RealOrangeOne deleted the feature/skip-update-check branch October 28, 2023 10:42
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.

Ability to conditionally disable?
1 participant