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

fix: Remove Windows => UNIX variable conversion #94

Merged

Conversation

DanReyLop
Copy link
Contributor

@DanReyLop DanReyLop commented Mar 24, 2017

Before, Windows-style env variables (%test%) would be converted to UNIX-style format ($test) in UNIX
systems. That was an undocumented feature. I've removed that to simplify code a bit. Of course, UNIX
to Windows format still works, as that's the intended use of cross-env.

BREAKING CHANGE: %windows_style% env variables will no longer be converted to $unix_style in UNIX
machines. To fix it, use always the UNIX syntax, cross-env will change the format in Windows
machines as needed

As discussed in #90 (comment)

Before, Windows-style env variables (%test%) would be converted to UNIX-style format ($test) in UNIX
systems. That was an undocumented feature. I've removed that to simplify code a bit. Of course, UNIX
to Windows format still works, as that's the intended use of cross-env.

BREAKING CHANGE: %windows_style% env variables will no longer be converted to $unix_style in UNIX
machines. To fix it, use always the UNIX syntax, cross-env will change the format in Windows
machines as needed
Copy link
Owner

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is perfect, thank you!

@kentcdodds kentcdodds merged commit 91cb2be into kentcdodds:next Mar 24, 2017
kentcdodds pushed a commit that referenced this pull request Mar 31, 2017
Before, Windows-style env variables (%test%) would be converted to UNIX-style format ($test) in UNIX
systems. That was an undocumented feature. I've removed that to simplify code a bit. Of course, UNIX
to Windows format still works, as that's the intended use of cross-env.

BREAKING CHANGE: %windows_style% env variables will no longer be converted to $unix_style in UNIX machines. To fix it, use always the UNIX syntax, cross-env will change the format in Windows machines as needed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants