no-mistakes(review): match real backpass and acpx launch paths

This commit is contained in:
Lap Tran committed 2026-11-11 12:49:41 -05:00
1 parent 9addc502fa
commit 9598499dcf
1 file changed
+6 -6
+6 -6
View File
@@ -405,10 +405,10 @@ in
exit 1 exit 1
fi fi
# Converge one npm global to the registry's latest. $1 is the package name, # Converge one npm global to the registry's latest. $1 is the package name,
# $2 is the pgrep pattern that identifies a live process of that package, # $2 is the pgrep pattern matching that package's command line as launched
# used only to explain that a live process keeps its loaded code. Every # from the global bin, used only to explain that a live process keeps its
# optional failure returns 0, so `set -e` never aborts the switch and later # loaded code. Every optional failure returns 0, so `set -e` never aborts the
# blocks still run. # switch and later blocks still run.
converge_npm_global() { converge_npm_global() {
pkg="$1" pkg="$1"
live="$2" live="$2"
@@ -441,8 +441,8 @@ in
echo "$pkg: a running process keeps the code it already loaded - $latest takes effect at its next start" >&2 echo "$pkg: a running process keeps the code it already loaded - $latest takes effect at its next start" >&2
fi fi
} }
converge_npm_global backpass "node_modules/backpass/bin/backpass.js" converge_npm_global backpass "/opt/homebrew/bin/backpass"
converge_npm_global acpx "node_modules/acpx/dist/cli.js" converge_npm_global acpx "/opt/homebrew/bin/acpx"
''; '';
# kunchenguid/no-mistakes gate (git push no-mistakes) - declarative install + daemon + global config # kunchenguid/no-mistakes gate (git push no-mistakes) - declarative install + daemon + global config