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
Which brings us to npx cross-env-shell "echo a=b && echo hello" not running the command as expected.
Turns out this is tracked in kentcdodds/cross-env#246 but sadly cross-env is no more maintained and has been archived, which means this won't be fixed there.
It seems that if we want Firebase to not silently break when a predeploy command includes an = sign, we need to use something else than cross-env to run the script.
The text was updated successfully, but these errors were encountered:
We also don't have too much resource at hand to address this issue atm. It looks like more users are getting tripped up with the limitation - let me see if we can at least output a useful error message...
[REQUIRED] Environment info
firebase-tools: 11.24.1
Platform: macOS
[REQUIRED] Test case
In
firebase.json
:[REQUIRED] Steps to reproduce
[REQUIRED] Expected behavior
Before deploying, it echoes
a=b
thenhello
on the next line.[REQUIRED] Actual behavior
Logging
translatedCommand
here gives the following:Which brings us to
npx cross-env-shell "echo a=b && echo hello"
not running the command as expected.Turns out this is tracked in kentcdodds/cross-env#246 but sadly cross-env is no more maintained and has been archived, which means this won't be fixed there.
It seems that if we want Firebase to not silently break when a
predeploy
command includes an=
sign, we need to use something else thancross-env
to run the script.The text was updated successfully, but these errors were encountered: