From 299788d42c823a68c69aa3a254b6ceb9e3331511 Mon Sep 17 00:00:00 2001 From: ehmicky Date: Fri, 1 Apr 2022 17:08:34 +0200 Subject: [PATCH] feat: remove `EXPERIMENTAL_NPM_WORKSPACES_CACHING` (#764) --- run-build-functions.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/run-build-functions.sh b/run-build-functions.sh index 5d57434b..3529525e 100755 --- a/run-build-functions.sh +++ b/run-build-functions.sh @@ -184,14 +184,7 @@ run_npm_set_temp() { } run_npm() { - local featureFlags="$1" - - if [ -n "$EXPERIMENTAL_NPM_WORKSPACES_CACHING" ] || has_feature_flag "$featureFlags" "build_image_npm_workspaces_caching" - then - restore_node_modules "npm" - else - restore_cwd_cache node_modules "node modules" - fi + restore_node_modules "npm" if [ -n "$NPM_VERSION" ] then