Skip to content
This repository was archived by the owner on Aug 21, 2026. It is now read-only.
This repository was archived by the owner on Aug 21, 2026. It is now read-only.

Fields with spaces in dotenv #38

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions