You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{$}from'bun'// [case: 1] - no need to escapeconsta=$`echo hello`awaita// [case: 2] - doesn't work as not escapedconststr1='echo hello'await$`${str1}`// [case: 3] - works when escapingconststr2='echo hello'await$`${{raw: str2}}`
And you can see case 3 works (but case 2 doesn't):
What version of Bun is running?
1.0.29+a146856d1
What platform is your computer?
Linux 6.3.6-arch1-1 x86_64 unknown
What steps can reproduce the bug?
Download json file for testing: https://drive.google.com/file/d/1jEe5Pzr2wn21o-U8z3q02OJh3231S9oN/view?usp=drive_link
What is the expected behavior?
[case: 2] work
What do you see instead?
bun: command not found: cat 110kb.json | grep 2489678843
Additional information
No response
The text was updated successfully, but these errors were encountered: