@rightkit/ci 0.3.5 → 0.3.6
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/manifest.mjs +2 -0
- package/package.json +1 -1
package/manifest.mjs
CHANGED
|
@@ -2218,6 +2218,8 @@ const CLASS_A_TOOL_STEPS = Object.freeze([
|
|
|
2218
2218
|
" root=\"$(node --input-type=module -e \"import { resolveManagedRoots } from './$rk/managed-roots.mjs'; console.log(resolveManagedRoots().gateRoot)\")\"",
|
|
2219
2219
|
" for spec in cargo-deny@0.20.2 cargo-audit@0.22.2 shellcheck@0.11.0 actionlint@1.7.12; do",
|
|
2220
2220
|
" tool=\"${spec%@*}\"; bin=\"$(command -v \"$tool\")\"",
|
|
2221
|
+
// Git Bash on Windows names the file without .exe and as /c/...: the gate spawns the Windows path of the real file.
|
|
2222
|
+
" if command -v cygpath >/dev/null; then [ -f \"$bin.exe\" ] && bin=\"$bin.exe\"; bin=\"$(cygpath -w \"$bin\")\"; fi",
|
|
2221
2223
|
" sum=\"$( (sha256sum \"$bin\" 2>/dev/null || shasum -a 256 \"$bin\") | cut -d' ' -f1)\"",
|
|
2222
2224
|
" node \"$rk/scan-tool-enrolment.mjs\" enroll --data-root \"$root\" --tool \"$tool\" --path \"$bin\" --sha256 \"$sum\" --version \"${spec#*@}\"",
|
|
2223
2225
|
" done",
|
package/package.json
CHANGED