finos / metadata-tool

A command line tool for performing various tasks with Fintech Open Source Foundation (FINOS) metadata.
Apache License 2.0
12 stars 5 forks source link

set-exit-code doesn't doesn't validate new exit code values #26

Closed pmonks closed 4 years ago

pmonks commented 5 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.

pmonks commented 5 years ago

This might be done between lines 24 and 25 of that ns via a condition such as (if (integer? new-exit-code) ...

maoo commented 4 years ago

Done, TY!