From 1c7e75a43a1844c4710899c8dc7f20c428675917 Mon Sep 17 00:00:00 2001 From: haiyux Date: Wed, 28 Jun 2023 11:11:08 +0800 Subject: [PATCH] fix lint --- cmd/kratos/internal/base/path.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kratos/internal/base/path.go b/cmd/kratos/internal/base/path.go index aa77b962f..d24647fd3 100644 --- a/cmd/kratos/internal/base/path.go +++ b/cmd/kratos/internal/base/path.go @@ -55,7 +55,7 @@ func copyFile(src, dst string, replaces []string) error { return os.WriteFile(dst, buf, srcinfo.Mode()) } -func copyDir(src, dst string, replaces, ignores []string) error { +func copyDir(src, dst string, replaces, ignores []string) error { srcinfo, err := os.Stat(src) if err != nil { return err