From 50cc196a43155dafd01c12982e9c5f9c3f9d3ea7 Mon Sep 17 00:00:00 2001
From: murgatroid99 <mlumish@google.com>
Date: Thu, 27 Oct 2016 11:32:21 -0700
Subject: [PATCH] npm cache clean is not a good idea in the artifact build

---
 tools/run_tests/build_artifact_node.bat | 1 -
 tools/run_tests/build_artifact_node.sh  | 1 -
 2 files changed, 2 deletions(-)

diff --git a/tools/run_tests/build_artifact_node.bat b/tools/run_tests/build_artifact_node.bat
index 2a1fe5fd92..57d55ef19e 100644
--- a/tools/run_tests/build_artifact_node.bat
+++ b/tools/run_tests/build_artifact_node.bat
@@ -33,7 +33,6 @@ set PATH=%PATH%;C:\Program Files\nodejs\;%APPDATA%\npm
 
 del /f /q BUILD || rmdir build /s /q
 
-call npm cache clean || goto :error
 call npm update || goto :error
 
 mkdir artifacts
diff --git a/tools/run_tests/build_artifact_node.sh b/tools/run_tests/build_artifact_node.sh
index 997085ccc9..9d06472aa4 100755
--- a/tools/run_tests/build_artifact_node.sh
+++ b/tools/run_tests/build_artifact_node.sh
@@ -40,7 +40,6 @@ rm -rf build || true
 
 mkdir -p artifacts
 
-npm cache clean
 npm update
 
 node_versions=( 0.12.0 1.0.0 1.1.0 2.0.0 3.0.0 4.0.0 5.0.0 6.0.0 )
-- 
GitLab