devbox icon indicating copy to clipboard operation
devbox copied to clipboard

[Bug]: Quiet mode is not always working

Open mNantern opened this issue 2 years ago • 0 comments

Current Behavior (bug) Even with quiet mode (-q flag) I have a lot of logs coming from devbox

Expected Behavior (fix) Quiet mode should be quiet

Additional context

❯ devbox version -v
Version:     0.8.1
Platform:    darwin_arm64
Commit:      a0bdff918b3dde5ebcfc488f72df5efdf3426253
Commit Time: 2023-11-07T21:43:27Z
Go Version:  go1.21.3
Launcher:    0.2.0
❯ cat devbox.json 
{
  "packages": [
    "[email protected]",
    "python311Packages.pip@latest"
  ],
  "shell": {
    "init_hook": [
      "source $VENV_DIR/bin/activate"
    ],
    "scripts": {
      "test": [
        "echo \"Error: no test specified\" && exit 1"
      ]
    }
  }
}

The main culprit here is the script venvShellHook.sh. Before release 0.8.1 I manually removed all echo lines but it looks like my workaround is not working anymore with the latest version.

Thank you 🙏

mNantern avatar Nov 08 '23 10:11 mNantern