Closed pmonks closed 4 years ago
The set-exit-code fn in the exit-code ns should validate new-exit-code before swapping the value in the private atom.
set-exit-code
exit-code
new-exit-code
This might be done between lines 24 and 25 of that ns via a condition such as (if (integer? new-exit-code) ...
(if (integer? new-exit-code) ...
Done, TY!
The
set-exit-code
fn in theexit-code
ns should validatenew-exit-code
before swapping the value in the private atom.