Skip to content

Commit 47a2456

Browse files
authored
Add more skipped directories when copying (#1153)
1 parent 962d109 commit 47a2456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/files/copy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func CopyAll(sourcePath, destinationPath string) error {
1818

1919
// CopyWithoutDev method copies files from the source to the destination, but skips _dev directories and empty folders.
2020
func CopyWithoutDev(sourcePath, destinationPath string) error {
21-
return CopyWithSkipped(sourcePath, destinationPath, []string{"_dev"})
21+
return CopyWithSkipped(sourcePath, destinationPath, []string{"_dev", "build", ".git"})
2222
}
2323

2424
// CopyWithSkipped method copies files from the source to the destination, but skips selected directories and empty folders.

0 commit comments

Comments
 (0)