Skip to content

Commit 6e6f01b

Browse files
committed
fix: 更新日志记录格式以包含操作类型
1 parent 68e04f4 commit 6e6f01b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provider/local/local.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ func gitClone(url, path string) error {
112112
}
113113

114114
func gitUpdateLocal(path string, action UpdateAction) error {
115-
log.Printf("action %s", path)
115+
log.Printf("%s %s", action, path)
116116
if action != UpdateActionPull && action != UpdateActionFetch {
117117
return fmt.Errorf("unsupported action: %s", action)
118118
}

0 commit comments

Comments
 (0)