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
Dotenv files commonly contain string literals with spaces due to bash field splitting. The typical format of an env file to prevent bash field splitting is to wrap the string with spaces like:
EAUTH_BANNER="Some Long String"
EAUTH_MESSAGE_PREFIX="Authenticate with your MetaMask wallet"
In contract.js the above format causes issues when reading with process.env as the result is "Some long string" and not Some long string. I propose to add some handling logic in contract.js to handle this common case for better interoperability with bash scripts.
The text was updated successfully, but these errors were encountered:
EAUTH_MESSAGE_PREFIX="Authenticate with your MetaMask wallet" is for Docker Compose v2. EAUTH_MESSAGE_PREFIX=Authenticate with your MetaMask wallet is for Docker Compose v1.
Dotenv files commonly contain string literals with spaces due to bash field splitting. The typical format of an env file to prevent bash field splitting is to wrap the string with spaces like:
In
contract.js
the above format causes issues when reading withprocess.env
as the result is"Some long string"
and notSome long string
. I propose to add some handling logic incontract.js
to handle this common case for better interoperability with bash scripts.The text was updated successfully, but these errors were encountered: