endojs / endo

Endo is a distributed secure JavaScript sandbox, based on SES
Apache License 2.0
804 stars 71 forks source link

Fix(daemon): work around for "yarn endo cat" #1873

Closed kumavis closed 9 months ago

kumavis commented 9 months ago

yarn v1 seems to require a newline at the end of stdout in order to display. not sure why

works fine without the yarn invocation wrapper

❯ yarn -v
1.22.19

test setup (note lack of newline):

❯ cat test.txt                        
hello world%  
❯ yarn endo store test.txt --name text

before:

❯ yarn endo cat text                  
yarn run v1.22.19
$ /home/xyz/Development/endo/node_modules/.bin/endo cat text
Done in 0.25s.

after:

❯ yarn endo cat text             
yarn run v1.22.19
$ /home/xyz/Development/endo/node_modules/.bin/endo cat text
hello world
Done in 0.25s.