Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass metadata breaks when input starts with a hyphen #1428

Open
Tracked by #1483
ScytheDraven47 opened this issue Jan 26, 2024 · 0 comments
Open
Tracked by #1483

Pass metadata breaks when input starts with a hyphen #1428

ScytheDraven47 opened this issue Jan 26, 2024 · 0 comments

Comments

@ScytheDraven47
Copy link

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()
@JosXa JosXa mentioned this issue May 25, 2024
98 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant