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
When .env-cmdrc.json for example contains an invalid trailing comma then env-cmd gives the following error:
Failed to find .rc file at default paths: [./.env-cmdrc,./.env-cmdrc.js,./.env-cmdrc.json]
After lots of trial and error I realised it's because of a trailing comma, but env-cmd can perhaps give a more detailed error when it failed to parse a .rc file, instead of saying it cannot find any.
The text was updated successfully, but these errors were encountered:
When
.env-cmdrc.json
for example contains an invalid trailing comma then env-cmd gives the following error:After lots of trial and error I realised it's because of a trailing comma, but
env-cmd
can perhaps give a more detailed error when it failed to parse a .rc file, instead of saying it cannot find any.The text was updated successfully, but these errors were encountered: