Skip to content

Commit

Permalink
fix: 更新日志记录格式以包含操作类型
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed Jan 25, 2025
1 parent 68e04f4 commit 6e6f01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/local/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func gitClone(url, path string) error {
}

func gitUpdateLocal(path string, action UpdateAction) error {
log.Printf("action %s", path)
log.Printf("%s %s", action, path)
if action != UpdateActionPull && action != UpdateActionFetch {
return fmt.Errorf("unsupported action: %s", action)
}
Expand Down

0 comments on commit 6e6f01b

Please sign in to comment.