@feigi/fleet-ctl 3.24.10 → 3.24.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/scripts/json.sh +7 -7
package/package.json
CHANGED
package/scripts/json.sh
CHANGED
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
# stays green. CI's `shellcheck -x -S warning` over `git ls-files '*.sh'` is
|
|
35
35
|
# what catches it (SC1072/SC1073).
|
|
36
36
|
#
|
|
37
|
-
# `LC_ALL=C` is a per-command prefix on every tool below, never an export.
|
|
38
|
-
# of the callers (
|
|
39
|
-
# locale, and exporting from a sourced
|
|
40
|
-
# tool in them. The prefix is a no-op
|
|
41
|
-
#
|
|
42
|
-
# `tr` exits 1 on a byte that is not valid
|
|
43
|
-
# `sed` emits nothing at all.
|
|
37
|
+
# `LC_ALL=C` is a per-command prefix on every tool below, never an export. Some
|
|
38
|
+
# of the callers (claim-ticket.sh, delete-merged-branch.sh, prove-merge.sh and
|
|
39
|
+
# verify-sha.sh among them) do not pin the locale, and exporting from a sourced
|
|
40
|
+
# lib would silently re-locale every OTHER tool in them. The prefix is a no-op
|
|
41
|
+
# in the callers that do pin it, and closes the same hazard in those that do
|
|
42
|
+
# not. It matters here because BSD `tr` exits 1 on a byte that is not valid
|
|
43
|
+
# UTF-8 under a UTF-8 locale, and `sed` emits nothing at all.
|
|
44
44
|
#
|
|
45
45
|
# THE RULE ORDER. Backslash first, always: escaping the quote (or any short
|
|
46
46
|
# form) before the backslash rule runs turns the backslash IT just introduced
|