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

Removed warning when update is skipped. #132

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jahanson
Copy link

@jahanson jahanson commented Feb 3, 2025

In order to reduce the messages every time a terminal is opened, I have removed two of the update warnings that were added with the latest merge that introduces the feature to delay updates every 7 days.
Closes #130.

anirudhgupta109 added a commit to anirudhgupta109/powershell-profile that referenced this pull request Feb 8, 2025
…tual info to warning

In the previous implementation (PR ChrisTitusTech#127), there was an edge case where a powershell update check will take place and a profile update check might not
due to floating point vs int values (.Date vs without (L84 vs L125 in PR)).
Commonize the checks since no situation exists where one runs but the other does not.

Add better dev-centered warning message since the previous warning was made to address the fact the profile has transitioned from update checks every launch
to a periodic check, now that users are aware of it, we can notify them when the last update was rather than the fact it was just skipped. (Issue ChrisTitusTech#132)

Signed-off-by: Anirudh Gupta <[email protected]>
anirudhgupta109 added a commit to anirudhgupta109/powershell-profile that referenced this pull request Feb 8, 2025
…tual info to warning

In the previous implementation (PR ChrisTitusTech#127), there was an edge case where a powershell update check will take place and a profile update check might not
due to floating point vs int values (.Date vs without (L84 vs L125 in aforementioned PR)).
Commonize the checks since no situation exists where one runs but the other does not.

Add better dev-centered warning message since the previous warning was made to address the fact the profile has transitioned from update checks every launch
to a periodic check, now that users are aware of it, we can notify them when the last update was rather than the fact it was just skipped. (Issue ChrisTitusTech#132)

Signed-off-by: Anirudh Gupta <[email protected]>
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.

Update message does not classify as a 'warning'
1 participant