Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

Variables empty #250

Closed
johannesjo opened this issue Oct 16, 2020 · 2 comments
Closed

Variables empty #250

johannesjo opened this issue Oct 16, 2020 · 2 comments

Comments

@johannesjo
Copy link

johannesjo commented Oct 16, 2020

  • cross-env version: 7.0.2
  • node version: 12.10
  • npm (or yarn) version: yarn 1.22.4

Relevant code or config

{
  "scripts": {
    "d": "cross-env FIRST_ENV=one SECOND_ENV=\"two\" echo \"III $FIRST_ENV $SECOND_ENV III\"",
  }
}

I tried different combinations of the above script, but all of them print out:

$yarn d
yarn run v1.22.4
$ cross-env FIRST_ENV="one" SECOND_ENV="two" echo "III $FIRST_ENV $SECOND_ENV III"
III   III
Done in 0.08s.

Am I missing something obvious?

@dwiyatci
Copy link

Some believes something got changed since MacOS 10.15.x (#222).

You might also be interested in #148 and #172. :)

@kentcdodds
Copy link
Owner

#257

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants