Skip to content

Commit

Permalink
feat(zbpack): Add dirs to exclude
Browse files Browse the repository at this point in the history
Signed-off-by: hackerchai <[email protected]>
  • Loading branch information
hackerchai committed Oct 30, 2023
1 parent c273bb3 commit d530767
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/utils/copy_from_image.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ func CopyFromImage(image, srcInImage, destOnHost string) error {
return fmt.Errorf("copy from image: %s: %w", stderr.String(), err)
}
excludeFiles := []string{".gitkeep", ".ini", ".env", ".DS_Store"}
excludeDirs := []string{".git", ".zeabur"}
excludeDirs := []string{".git", ".zeabur", ".vscode", ".idea", ".github"}
err = deleteFilesRecursively(excludeFiles, destOnHost)
if err != nil {
return fmt.Errorf("delete files in directory: %w", err)
Expand Down

0 comments on commit d530767

Please sign in to comment.