Skip to content
This repository was archived by the owner on May 26, 2022. It is now read-only.

API application build npm script is not cross platform #96

Open
johnymontana opened this issue Jul 17, 2020 · 0 comments
Open

API application build npm script is not cross platform #96

johnymontana opened this issue Jul 17, 2020 · 0 comments

Comments

@johnymontana
Copy link
Contributor

The build npm script for the api application errors on Windows due to this command:

shx cp .env build 2>/dev/null || :

specifically 2>/dev/null || : - this is used to pipe any error in the case that .env does not exist to dev/null and also not return a non-zero exit code.

This should be changed to something that works cross platform for conditional copy (check if exists, etc)

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

1 participant