From 1132443e74e90e5cc9961ea0a613e8cf61ac74bb Mon Sep 17 00:00:00 2001 From: Stefan Scherer Date: Mon, 17 Feb 2020 09:39:31 +0100 Subject: [PATCH] Ignore warnings in npm install --- deploy.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deploy.ps1 b/deploy.ps1 index c7e736c..d471039 100644 --- a/deploy.ps1 +++ b/deploy.ps1 @@ -31,7 +31,9 @@ docker push "$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME" if ($isWindows) { # Windows Write-Host "Rebasing image to produce 2016/1607 variant" + $ErrorActionPreference = 'SilentlyContinue'; npm install -g rebase-docker-image + $ErrorActionPreference = 'Stop'; rebase-docker-image ` "$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME" ` -s stefanscherer/nanoserver:1809 `