mirror of
https://gitea.com/gitea/runner.git
synced 2026-11-04 06:25:32 +00:00
Secrets often carry a trailing newline, for example from `echo "token" | base64`, which made `register --no-interactive` fail with `runner registration token not found`. The interactive path already trims typed values, this aligns the flag path. Related to: https://gitea.com/gitea/runner/issues/727 Reviewed-on: https://gitea.com/gitea/runner/pulls/1147 Reviewed-by: techknowlogick <[email protected]> Co-authored-by: silverwind <[email protected]>