variable list --output json wrong

Checklist

  • I'm using the latest version of the extension (Run glab --version)
    • Extension version: Put your extension version here
  • Operating system and version: Arch linux (endeavour)
  • Gitlab.com or self-managed instance? gitlab.vmlab.be/self-managed instance
  • GitLab version (if self-managed) 18.7.1-ce (Use the version endpoint,Endpoint: https://gitlab.vmlab.be/api/v4/)
  • I have performed glab auth status to check for authentication issues
  • Run the command in debug mode (like DEBUG=true glab mr list) and attach any useful output

Summary

Environment

  • OS:ARCH
  • SHELL:ZSH
  • TERM:KITTY
  • GLAB:v1.82.0

Other:

Steps to reproduce

glab variable -R $CI_PROJECT_PATH --output json

What is the current bug behavior?

gives 2 additional text lines befroe generating the json output

What is the expected correct behavior?

regular json output

text

Relevant logs and/or screenshots

Possible fixes

remove the 2 text lines

/label:bug

Edited Jan 30, 2026 by Bart DevOps
Assignee Loading
Time tracking Loading