commercialhaskell / commercialhaskell/stack

--silent or --verbosity silent hides a failing exit status

Open
#5,716 2 comments 1 reaction 0 assignees View on GitHub
component: macOS further investigation required
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

Add a typo in your stack.yaml, so that `stack build` reports an error.

Now try `stack build --silent && echo ok`. You'll see no stdout, no stderr, and "ok", indicating a zero exit status. This is misleading, particularly when trying to debug haskell-language-server startup failures (currently it calls stack with --silent).

Tested with stack Version 2.7.5, Git revision 717ec96c15520748f3fcee00f72504ddccaa30b5 (dirty) (163 commits) aarch64.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.