yo
yo copied to clipboard
-B, --bash-action doesn't do anything on M1 Mac
Hello,
After moving to the M1 Mac, the -B argument stopped working.
Example of how I'm using yo (works on Intel Mac):
yo.app/Contents/MacOS/yo -t 'Time to check for updates' -s 'Ready to do it now?' -o No -b Yes -B "/path/to/script.sh"
The same exact thing doesn't work on M1 Mac. I even rebuilt yo to be native Apple Silicone.
Tried doing this as a test — no test.txt file created
/path/to/yo.app/Contents/MacOS/yo -t 'Time to check for updates' -s 'Ready to do it now?' -o No -b Yes -B "touch ~/Desktop/text.txt"
Is there a fix (or at least a workaround)?
Thanks!