kit
kit copied to clipboard
Pass metadata breaks when input starts with a hyphen
The // Pass metadata is behaving weirdly when the passed input begins with a hyphen -.
Input: -4.5
Expected Result: {"pass":"-4.5"}
Actual Result: {"4":0.5,"pass":true}
Script to replicate:
// Name: Test Pass
// Pass: true
import "@johnlindquist/kit"
console.log(flag)
await arg()