OpenAPITools / OpenAPITools/openapi-generator-cli

[BUG] version command fails in 2.4.3

Đang mở
#467 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@kay-schecker đang làm issue này rồi.

Từ ngày 15/9/2021.

bug
Ngôn ngữ chính
TypeScript
Star
2k
Fork
208
Merge trung bình
7 giờ 12 phút
Pull request đã merge (30 ngày)
6

Mô tả

⚠️ 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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.