Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

zowe --version --rfj returns an extra \n in the version field #842

Closed
plavjanik opened this issue Feb 3, 2022 · 1 comment · Fixed by #844
Closed

zowe --version --rfj returns an extra \n in the version field #842

plavjanik opened this issue Feb 3, 2022 · 1 comment · Fixed by #844
Assignees

Comments

@plavjanik
Copy link
Contributor

$ zowe --version --rfj

{
  "success": true,
  "exitCode": 0,
  "message": "Version displayed",
  "stdout": "6.37.2\n",
  "stderr": "",
  "data": {
    "version": "6.37.2\n"
  }
}

The version field is not just version but it has an extra \n like in 6.37.2\n in the example. It causes problems in automation that tries to ensure expected version but the workaround is easy.

@t1m0thyj t1m0thyj self-assigned this Jun 29, 2022
@t1m0thyj t1m0thyj transferred this issue from zowe/zowe-cli Jun 29, 2022
@plavjanik
Copy link
Contributor Author

Thanks for fixing it!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants