Skip to content

Commit

Permalink
Allows downloading of modules dependent on PowerShell-Yaml (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju authored Apr 6, 2023
1 parent 6563161 commit dde003b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed

- Fix a bug that prevented downloading of dependent modules that has a
dependency on the module _PowerShell-Yaml_. Fixes [#421](https://github.com/gaelcolas/Sampler/issues/421).

## [0.116.3] - 2023-04-01

### Changed
Expand Down
2 changes: 0 additions & 2 deletions Resolve-Dependency.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,6 @@ try
}

Write-Progress -Activity 'Bootstrap:' -PercentComplete 88 -CurrentOperation 'Importing PowerShell module PowerShell-Yaml'

Import-Module -Name 'PowerShell-Yaml' -ErrorAction 'Stop'
}

Write-Progress -Activity 'Bootstrap:' -PercentComplete 90 -CurrentOperation 'Invoke PSDepend'
Expand Down
2 changes: 0 additions & 2 deletions Sampler/Templates/Build/Resolve-Dependency.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -478,8 +478,6 @@ try
}

Write-Progress -Activity 'Bootstrap:' -PercentComplete 88 -CurrentOperation 'Importing PowerShell module PowerShell-Yaml'

Import-Module -Name 'PowerShell-Yaml' -ErrorAction 'Stop'
}

Write-Progress -Activity 'Bootstrap:' -PercentComplete 90 -CurrentOperation 'Invoke PSDepend'
Expand Down

0 comments on commit dde003b

Please sign in to comment.