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

Commit a28bcd8

Browse files
johnmcollierRajiv Nathan
authored and
Rajiv Nathan
committed
Add .m2 folder to protected folders
Signed-off-by: John Collier <[email protected]>
1 parent 226f47e commit a28bcd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pfe/portal/routes/projects/remoteBind.route.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ function getFilesToDelete(existingFileArray, newFileArray) {
273273
}
274274

275275
function fileIsProtected(filePath) {
276-
const protectedPrefixes = [".odo/", "node_modules/"];
276+
const protectedPrefixes = [".odo/", "node_modules/", ".m2/"];
277277
return protectedPrefixes.some((prefix) => filePath.startsWith(prefix));
278278
}
279279

0 commit comments

Comments
 (0)