fix: Replace UTF-8 em-dash with ASCII hyphen in CLI output and tests
Some checks failed
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/push/nomad-validate Pipeline failed
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/nomad-validate Pipeline failed
ci/woodpecker/pr/smoke-init Pipeline failed

Replace em-dash (—) with ASCII hyphen (-) in:
- bin/disinto: 'Dry run complete' message
- bin/disinto: import skip message
- lib/init/nomad/cluster-up.sh: 'Dry run complete' message
- tests/disinto-init-nomad.bats: test assertions

This fixes CI failures caused by bats test runner not handling UTF-8
em-dash characters correctly.
This commit is contained in:
Agent 2026-04-16 17:57:59 +00:00
parent f9f044c6ed
commit 15c6cc7e16
3 changed files with 7 additions and 7 deletions

View file

@ -723,7 +723,7 @@ _disinto_init_nomad() {
echo "[auth] [dry-run] ${vault_auth_sh}"
echo ""
else
echo "[import] no --import-env/--import-sops skipping; set them or seed kv/disinto/* manually before deploying secret-dependent services"
echo "[import] no --import-env/--import-sops - skipping; set them or seed kv/disinto/* manually before deploying secret-dependent services"
echo ""
fi
@ -818,7 +818,7 @@ _disinto_init_nomad() {
sudo -n -- "${import_cmd[@]}" || exit $?
fi
else
echo "[import] no --import-env/--import-sops skipping; set them or seed kv/disinto/* manually before deploying secret-dependent services"
echo "[import] no --import-env/--import-sops - skipping; set them or seed kv/disinto/* manually before deploying secret-dependent services"
fi
# Deploy services if requested
@ -1134,7 +1134,7 @@ p.write_text(text)
echo "[ensure] CLAUDE_CONFIG_DIR"
echo "[ensure] state files (.dev-active, .reviewer-active, .gardener-active)"
echo ""
echo "Dry run complete no changes made."
echo "Dry run complete - no changes made."
exit 0
fi