Skip to content

Commit d074ea5

Browse files
authored
chore: remove node modules before loading cache in shared scripts (#3238)
1 parent 55c7bda commit d074ea5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

shared-scripts.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ function storeCacheForBuildJob {
4646
}
4747
function loadCacheFromBuildJob {
4848
# download [repo, .cache] from s3
49+
rm -rf node_modules
4950
loadCache repo $CODEBUILD_SRC_DIR
5051
loadCache .cache $HOME/.cache
5152
loadCache .nvm $HOME/.nvm

0 commit comments

Comments
 (0)