diff --git a/index.html b/index.html index e0d0bb8..90f6229 100644 --- a/index.html +++ b/index.html @@ -12,13 +12,13 @@ - + - - - + + +
@@ -369,3 +369,4 @@

Help us make the next release useful.

+ diff --git a/value-1.0.0.js b/value-1.0.0.js index 297e85e..0f2c033 100644 --- a/value-1.0.0.js +++ b/value-1.0.0.js @@ -378,6 +378,10 @@ panel( control("receipt-output", "Output", "readable", ["readable", "JSON"]), ], () => { + if (!/^\d+$/.test(val("receipt-build").trim())) + throw new TypeError( + "Provide an explicit nonnegative integer build exit code.", + ); const meta = { commit: val("receipt-source-commit"), capturedAt: val("receipt-time"),