Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Add .m2 folder to protected folders
Browse files Browse the repository at this point in the history
Signed-off-by: John Collier <[email protected]>
  • Loading branch information
johnmcollier authored and Rajiv Nathan committed Dec 18, 2019
1 parent 226f47e commit a28bcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pfe/portal/routes/projects/remoteBind.route.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ function getFilesToDelete(existingFileArray, newFileArray) {
}

function fileIsProtected(filePath) {
const protectedPrefixes = [".odo/", "node_modules/"];
const protectedPrefixes = [".odo/", "node_modules/", ".m2/"];
return protectedPrefixes.some((prefix) => filePath.startsWith(prefix));
}

Expand Down

0 comments on commit a28bcd8

Please sign in to comment.