mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-27 03:46:23 +08:00
Remove directory causing static analysis failure (#8812)
Remove directory causing static analysis failure
This commit is contained in:
parent
3fbf488668
commit
003a141f31
@ -39,6 +39,8 @@ phases:
|
||||
|
||||
- bash: |
|
||||
sudo npm install -g markdown-spellcheck@0.11.0
|
||||
# Sometimes this folder is left behind with root permissions and is needed by later NPM installs which don't need sudo
|
||||
sudo rm -rf ~/.npm/_cacache
|
||||
displayName: Install mdspell
|
||||
condition: succeededOrFailed()
|
||||
|
||||
|
@ -7,7 +7,11 @@ Describe "Verify Markdown Links" {
|
||||
if(!(Get-Command -Name 'markdown-link-check' -ErrorAction SilentlyContinue))
|
||||
{
|
||||
Write-Verbose "installing markdown-link-check ..." -Verbose
|
||||
start-nativeExecution { sudo npm install -g markdown-link-check@3.7.2 }
|
||||
start-nativeExecution {
|
||||
sudo npm install -g markdown-link-check@3.7.2
|
||||
# Sometimes this folder is left behind with root permissions and is needed by later NPM installs which don't need sudo
|
||||
sudo rm -rf ~/.npm/_cacache
|
||||
}
|
||||
}
|
||||
|
||||
if(!(Get-Module -Name 'ThreadJob' -ListAvailable -ErrorAction SilentlyContinue))
|
||||
|
@ -21,7 +21,11 @@ Describe 'Common Tests - Validate Markdown Files' -Tag 'CI' {
|
||||
start-nativeExecution { npm install 'gulp@4.0.0' --silent }
|
||||
if(!(Get-Command -Name 'gulp' -ErrorAction SilentlyContinue))
|
||||
{
|
||||
start-nativeExecution { sudo npm install -g 'gulp@4.0.0' --silent }
|
||||
start-nativeExecution {
|
||||
sudo npm install -g 'gulp@4.0.0' --silent
|
||||
# Sometimes this folder is left behind with root permissions and is needed by later NPM installs which don't need sudo
|
||||
sudo rm -rf ~/.npm/_cacache
|
||||
}
|
||||
}
|
||||
if(!(Get-Command -Name 'node' -ErrorAction SilentlyContinue))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user