Skip to content

Commit

Permalink
🎨 增加 File.CopyWithoutHidden 函数,用于不复制隐藏文件
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed May 5, 2024
1 parent d772973 commit a15788d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func TestCopyWithoutHidden(t *testing.T) {
return
}

if File.IsExist("./.gitignore") {
if File.IsExist(dest) {
t.Error(".gitignore should not exist")
return
}
Expand Down

0 comments on commit a15788d

Please sign in to comment.