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

Import-SqlDscPreferredModule: Fix re-evaluate PSModulePath #1938

Merged
merged 1 commit into from
May 9, 2023

Conversation

johlju
Copy link
Member

@johlju johlju commented May 8, 2023

Pull Request (PR) description

  • Import-SqlDscPreferredModule
    • Now when parameter Force is passed the command correctly invoke
      Get-SqlDscPreferredModule using the parameter Refresh.

This Pull Request (PR) fixes the following issues

None. But might be the reason PR #1932 fails.

Task list

  • Added an entry to the change log under the Unreleased section of the
    file CHANGELOG.md. Entry should say what was changed and how that
    affects users (if applicable), and reference the issue being resolved
    (if applicable).
  • Resource documentation updated in the resource's README.md.
  • Resource parameter descriptions updated in schema.mof.
  • Comment-based help updated, including parameter descriptions.
  • Localization strings updated.
  • Examples updated.
  • Unit tests updated. See DSC Community Testing Guidelines.
  • Integration tests updated (where possible). See DSC Community Testing Guidelines.
  • Code changes adheres to DSC Community Style Guidelines.

This change is Reviewable

@johlju johlju changed the title Import-SqlDscPreferredModule: Correctly fix re-evaluate PSModulePath Import-SqlDscPreferredModule: Fix re-evaluate PSModulePath May 8, 2023
@johlju johlju added the needs review The pull request needs a code review. label May 8, 2023
@codecov
Copy link

codecov bot commented May 8, 2023

Codecov Report

Merging #1938 (50dfb85) into main (d296853) will increase coverage by 0%.
The diff coverage is 100%.

Impacted file tree graph

@@         Coverage Diff          @@
##           main   #1938   +/-   ##
====================================
  Coverage    91%     91%           
====================================
  Files        92      92           
  Lines      7806    7808    +2     
====================================
+ Hits       7181    7183    +2     
  Misses      625     625           
Flag Coverage Δ
unit 91% <100%> (+<1%) ⬆️
Impacted Files Coverage Δ
source/Public/Import-SqlDscPreferredModule.ps1 100% <100%> (ø)

Copy link
Member Author

@johlju johlju left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 3 of 3 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @johlju)

@johlju johlju merged commit fccdb73 into dsccommunity:main May 9, 2023
@johlju johlju deleted the fix/reevaluate-psmodulepath branch May 9, 2023 07:05
@johlju johlju removed the needs review The pull request needs a code review. label May 9, 2023
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.

1 participant