foundation-cli icon indicating copy to clipboard operation
foundation-cli copied to clipboard

Foundation does not output npm exit code

Open LarsKumbier opened this issue 9 years ago • 0 comments

When I start my build process by calling npm run-script build --production and the build fails for some reason, npm exits with an error status code 1. This is important for CI-processes (e.g. gitlab-ci), which decide upon success or failure of a build through the exit code.

However, when I use foundation build, the status code is always the non-error 0, throwing off CI-pipelines.

Instead, it should pass through the exit code produces by the npm run-script...-call upon watch or build.

LarsKumbier avatar Mar 30 '16 23:03 LarsKumbier