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

Invoke-UpdateCheck fixes #252

Merged

Conversation

HowardWolosky
Copy link
Member

@HowardWolosky HowardWolosky commented Jun 28, 2020

Description

  • Fixes a regression introduced by #242 unfortunately when I was reducing the lines in the module that exceeded 100 chars.
    Specifically:

    Write-Log =Message $message -Level Verbose

    (note the =Message instead of the -Message)

  • Updates the web request to suppress the progress bar using $ProgressPreference = 'SilentlyContinue'

  • Adds a -Force switch to force the update check to happen again to make future debugging scenarios easier.

Issues Fixed

Fixes #249
Fixes #250

References

n/a

Checklist

  • You actually ran the code that you just wrote, especially if you did just "one last quick change".
  • Comment-based help added/updated, including examples.
  • Static analysis is reporting back clean.
  • New/changed code adheres to our coding guidelines.
  • New/changed code continues to support the pipeline.
  • Changes to the manifest file follow the manifest guidance.
  • Unit tests were added/updated and are all passing. See testing guidelines. This includes making sure that all pipeline input variations have been covered.
  • Relevant usage examples have been added/updated in USAGE.md.
  • If desired, ensure your name is added to our Contributors list

* Fixes a regression that was introduced in microsoft#242.  A `Write-Log`
  command was accidentally updated to pass in `=Message` instead of
  `-Message`.
* Updates the web request to suppress the progress bar using
  $ProgressPreference = 'SilentlyContinue'

Fixes microsoft#249
Fixes microsoft#250
@HowardWolosky HowardWolosky added the bug This relates to a bug in the existing module. label Jun 28, 2020
@HowardWolosky HowardWolosky merged commit d32bd11 into microsoft:master Jun 28, 2020
@HowardWolosky HowardWolosky deleted the invokeUpdateCheckFixes branch June 28, 2020 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This relates to a bug in the existing module.
Projects
None yet
1 participant