From afb03bc2fab4f85efe3879f2d2d5acf409e656ce Mon Sep 17 00:00:00 2001 From: Mario Rodriguez Molins Date: Tue, 21 Feb 2023 15:53:30 +0100 Subject: [PATCH] Add more skipped directories when copying --- 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 c083495225..207790791e 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.