aboutsummaryrefslogtreecommitdiff
path: root/ssh_utils.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-19 11:20:24 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-19 11:20:24 +0800
commit54926a719de46b3c359f2f7ce3c29ff4fe55397b (patch)
treeb81028ae83c949807313a54296bf6d0b59bea8a0 /ssh_utils.go
parentRemove underscores from Go code, pt 2 (diff)
downloadforge-54926a719de46b3c359f2f7ce3c29ff4fe55397b.tar.gz
forge-54926a719de46b3c359f2f7ce3c29ff4fe55397b.tar.zst
forge-54926a719de46b3c359f2f7ce3c29ff4fe55397b.zip
Remove underscores from Go code, pt 3
Diffstat (limited to 'ssh_utils.go')
-rw-r--r--ssh_utils.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssh_utils.go b/ssh_utils.go
index d9c11da..092cb6e 100644
--- a/ssh_utils.go
+++ b/ssh_utils.go
@@ -66,6 +66,6 @@ func get_repo_path_perms_from_ssh_path_pubkey(ctx context.Context, ssh_path, ssh
}
}
-func wf_error(w io.Writer, format string, args ...any) {
+func writeRedError(w io.Writer, format string, args ...any) {
fmt.Fprintln(w, ansiec.Red+fmt.Sprintf(format, args...)+ansiec.Reset)
}