From 47a2456269de615ed1d084761292bbfb29ead639 Mon Sep 17 00:00:00 2001 From: Mario Rodriguez Molins Date: Wed, 22 Feb 2023 10:14:06 +0100 Subject: [PATCH] Add more skipped directories when copying (#1153) --- internal/files/copy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/files/copy.go b/internal/files/copy.go index c08349522..207790791 100644 --- a/internal/files/copy.go +++ b/internal/files/copy.go @@ -18,7 +18,7 @@ func CopyAll(sourcePath, destinationPath string) error { // CopyWithoutDev method copies files from the source to the destination, but skips _dev directories and empty folders. func CopyWithoutDev(sourcePath, destinationPath string) error { - return CopyWithSkipped(sourcePath, destinationPath, []string{"_dev"}) + return CopyWithSkipped(sourcePath, destinationPath, []string{"_dev", "build", ".git"}) } // CopyWithSkipped method copies files from the source to the destination, but skips selected directories and empty folders.