Exempt the cn-convert bootstrap from the command-helper style rule
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kb7vDj6PHwymeDeSUUk1eX
This commit is contained in:
@@ -4,8 +4,9 @@ set -euo pipefail
|
||||
|
||||
source "$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)/base-test.sh"
|
||||
|
||||
# cn-convert is a curl-able bootstrap like upgrade-to-quattro: helpers may not exist yet
|
||||
raw_command_checks=$(rg -l 'command -v' "$ROOT/bin" \
|
||||
| rg -v '/omarchy-(cmd-|pkg-|upgrade-to-quattro)' || true)
|
||||
| rg -v '/omarchy-(cmd-|pkg-|upgrade-to-quattro|cn-convert)' || true)
|
||||
[[ -z $raw_command_checks ]] || fail "bin commands use command helpers" "$raw_command_checks"
|
||||
pass "bin commands use command helpers"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user