firegoat 0.15.0 → 0.15.1
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/dist/cli.js +8 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -6947,7 +6947,7 @@ var require_public_api = __commonJS(function(exports) {
|
|
|
6947
6947
|
// package.json
|
|
6948
6948
|
var package_default = {
|
|
6949
6949
|
name: "firegoat",
|
|
6950
|
-
version: "0.15.
|
|
6950
|
+
version: "0.15.1",
|
|
6951
6951
|
repository: {
|
|
6952
6952
|
type: "git",
|
|
6953
6953
|
url: "git+https://github.com/firegoat-ai/firegoat-cli.git"
|
|
@@ -7604,7 +7604,8 @@ Example:
|
|
|
7604
7604
|
checks:
|
|
7605
7605
|
- run: grep -qE 'evt_[A-Za-z0-9]+' "$FIREGOAT_TRANSCRIPT"
|
|
7606
7606
|
- run: |
|
|
7607
|
-
|
|
7607
|
+
test -s "$FIREGOAT_TRANSCRIPT" &&
|
|
7608
|
+
! grep -Eq '^\\[[0-9]+\\] \\$ .*npm (install|i|add) .*acme' "$FIREGOAT_TRANSCRIPT"
|
|
7608
7609
|
|
|
7609
7610
|
Exit codes: 0 done, 2 the skill install failed, 3 usage error.`;
|
|
7610
7611
|
var EVAL_HELP = `Usage: firegoat eval [test..] [--runs N] [--model NAME].. [--parallel N]
|
|
@@ -8942,6 +8943,11 @@ main(process.argv.slice(2)).then((code) => process.exit(code), (err) => {
|
|
|
8942
8943
|
console.error(err.message);
|
|
8943
8944
|
process.exit(EXIT.usage);
|
|
8944
8945
|
}
|
|
8946
|
+
if (err?.code === "ABORT_ERR") {
|
|
8947
|
+
console.error(`
|
|
8948
|
+
aborted`);
|
|
8949
|
+
process.exit(130);
|
|
8950
|
+
}
|
|
8945
8951
|
console.error(err);
|
|
8946
8952
|
process.exit(EXIT.notGraded);
|
|
8947
8953
|
});
|