-
-
Notifications
You must be signed in to change notification settings - Fork 0
Allow modules to have dependencies #111
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
base: main
Are you sure you want to change the base?
Conversation
| } | ||
| } | ||
|
|
||
| function Install-Dependencies{ |
Check warning
Code scanning / PSScriptAnalyzer
The cmdlet 'Install-Dependencies' uses a plural noun. A singular noun should be used instead.
| "Installing module $requiredModule" | Write-Host -ForegroundColor DarkGray | ||
| Install-Module -Name $Name -Force -AllowPrerelease | ||
| $module = Import-Module -Name $requiredModule -PassThru | ||
| "Loaded module Name[$($module.Name)] Version[$($module.Version)]" | Write-Host -ForegroundColor DarkGray |
Check warning
Code scanning / PSScriptAnalyzer
File 'deploy.Helper.ps1' uses Write-Host. Avoid using Write-Host because it might not work in all hosts, does not work when there is no host, and (prior to PS 5.0) cannot be suppressed, captured, or redirected. Instead, use Write-Output, Write-Verbose, or Write-Information.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PSScriptAnalyzer found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Fixes #110