From 74e160c26b28face21343e0643a883d1e0fe7737 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Wed, 11 Apr 2018 14:13:42 +1000 Subject: [PATCH] fix remove error --- .appveyor.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 866c762d11..17f25253d8 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -16,7 +16,8 @@ install: - ps: Install-Product node $env:nodejs_version $env:platform - set PATH=%APPDATA%\npm;%PATH% - npm i -g bolt@0.20.1 -- ps: Remove-Item -Recurse -Force node_modules +- if not exist "node_modules" mkdir node_modules +- ps: Remove-Item node_modules -Recurse -Force - bolt - bolt build - ps: |