Skip to content

Commit

Permalink
Add more skipped directories when copying (#1153)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm authored Feb 22, 2023
1 parent 962d109 commit 47a2456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/files/copy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 47a2456

Please sign in to comment.