We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running the following code with deno:
import $ from 'https://deno.land/x/dax/mod.ts'; await $`echo \( foo bar \)`;
An error will be produced:
error: Uncaught (in promise) "Unexpected character.\n ( bar )\n ~"
The expected output is:
( foo bar )
Given the following content of deno.json:
deno.json
{ "tasks": { "paren": "echo ( foo bar )", "paren2": "echo \\( foo bar \\)", "paren3": "echo \\(\nfoo bar\n\\)" } }
And running deno task paren2 and deno task paren3 both produce the expected output:
deno task paren2
deno task paren3
$ deno task paren2 Task paren2 echo \( foo bar \) ( foo bar ) $ deno task paren3 Task paren3 echo \( foo bar \) ( foo bar )
Support for escaped parentheses was added in denoland/deno_task_shell#99, but it seems that #232 broke it.
Related:
(
)
The text was updated successfully, but these errors were encountered:
It seems that it requires double-escaping. The following code works:
import $ from 'https://deno.land/x/dax/mod.ts'; await $`echo \\( foo bar \\)`;
Sorry, something went wrong.
No branches or pull requests
Running the following code with deno:
An error will be produced:
The expected output is:
Given the following content of
deno.json
:And running
deno task paren2
anddeno task paren3
both produce the expected output:Support for escaped parentheses was added in denoland/deno_task_shell#99, but it seems that #232 broke it.
Related:
(
and)
denoland/deno_task_shell#97The text was updated successfully, but these errors were encountered: