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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
possible non wanted error [ERROR:vr] Unknown option: -1 #28
Comments
Hi @bernardini687, thanks for reporting this. |
using |
yep, the upgrade solved the problem with arguments like: vr add foo -100 but, now i'd still report another possible problem with quoted params: vr add "foo bar" -100
# Deno.args log -> ["foo", "bar", "-100"]
deno run --allow-all add.ts "foo bar" -100
# Deno.args log -> ["foo bar", "-100"] it seems that what should be passed as a single string is instead splitted by velociraptor! |
@bernardini687 you're right, I didn't have the time to test this properly. Should be now fixed in |
@umbopepato yep, it's fixed! thanks a lot 馃憤 |
hello 馃憢
i was successfully running deno scripts through velociraptor, like so:
which maps to:
add.ts
is supposed to readDeno.args
and do something with them.the problem with velociraptor appeared when i ran:
which failed with
[ERROR:vr] Unknown option: -1
.that's okay, it looks like an option and it's not a valid one.
but then i tried to wrap the value in quotes:
vr add foo "-100"
and got the same error.
now, it's not at all critical.
but when i ran the whole command manually, i got it working (with or without quotes):
so it's just something i wanted to point out
thanks for the good work on velociraptor! 馃憤
The text was updated successfully, but these errors were encountered: