OpenAPITools / OpenAPITools/openapi-generator-cli

[BUG] version command fails in 2.4.3

Open
#467 1 comment 0 reactions 1 assignee View on GitHub

@kay-schecker is already working on this.

Since Sep 15, 2021.

bug
Dominant language
TypeScript
Stars
2k
Forks
208
Avg merge
7h 12m
Merged PRs (30d)
6

Description

⚠️ Important Notice

Please differentiate the bug

This repository is not responsible for the actual code generation. If you have problems with the code generation, please open the bug at OpenAPITools/openapi-generator.

Please also check if the bug is already known before you open a new bug.


🐛 Bug Report:

Describe the bug

version returns an error

Steps to Reproduce

Steps to reproduce the behavior:

  1. npm install -g @openapitools/openapi-generator-cli@2.4.3
  2. npx @openapitools/openapi-generator-cli version
Expected behavior
Download 5.2.1 ...
Downloaded 5.2.1
Did set selected version to 5.2.1
5.2.1
Actual behavior
Unexpected token '?'
Operation System (please complete the following information):
  • OSX 11.6
  • Ubuntu 18.04
Package System (please complete the following information):
  • npm 6.14.6
Additional context

Rolling back to 2.4.2 fixes the problem

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.