mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 12:42:09 -05:00
Test adding Import-Module for PSScriptAnalyzer
This commit is contained in:
parent
0b7f7ea2dc
commit
6f1b121b3f
1 changed files with 2 additions and 1 deletions
|
@ -49,7 +49,8 @@ RUN mkdir -p /opt/microsoft/powershell/7 \
|
|||
| xargs -n 1 wget -O - \
|
||||
| tar -xzC /opt/microsoft/powershell/7 \
|
||||
&& ln -s /opt/microsoft/powershell/7/pwsh /usr/bin/pwsh \
|
||||
&& pwsh -c 'Install-Module -Name PSScriptAnalyzer -Repository PSGallery -RequiredVersion ${PSSA_VERSION} -Scope CurrentUser -Force'
|
||||
&& pwsh -c 'Install-Module -Name PSScriptAnalyzer -Repository PSGallery -RequiredVersion ${PSSA_VERSION} -Scope CurrentUser -Force' \
|
||||
&& pwsh -c 'Import-Module -Name PSScriptAnalyzer -RequiredVersion ${PSSA_VERSION} -Force'
|
||||
|
||||
#####################
|
||||
# Run Pip3 Installs #
|
||||
|
|
Loading…
Reference in a new issue