aboutsummaryrefslogtreecommitdiff
path: root/ssh_utils.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-20 12:33:21 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-20 12:33:21 +0800
commit3423f1ef3633257236d01577c9c2ee5f485c8cb7 (patch)
treea7c0be233f3ff3ab4020e09bd870b7879a09c75b /ssh_utils.go
parentssh/recv: Check hooksPath before receiving packs (diff)
downloadforge-3423f1ef3633257236d01577c9c2ee5f485c8cb7.tar.gz
forge-3423f1ef3633257236d01577c9c2ee5f485c8cb7.tar.zst
forge-3423f1ef3633257236d01577c9c2ee5f485c8cb7.zip
all: Reformat
Diffstat (limited to '')
-rw-r--r--ssh_utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh_utils.go b/ssh_utils.go
index 48b25b9..6074dff 100644
--- a/ssh_utils.go
+++ b/ssh_utils.go
@@ -60,5 +60,5 @@ func get_repo_path_perms_from_ssh_path_pubkey(ctx context.Context, ssh_path stri
}
func wf_error(w io.Writer, format string, args ...any) {
- fmt.Fprintln(w, ansiec.Red + fmt.Sprintf(format, args...) + ansiec.Reset)
+ fmt.Fprintln(w, ansiec.Red+fmt.Sprintf(format, args...)+ansiec.Reset)
}