kcl-lang / cli

The KCL Command Line Interface (CLI).
https://kcl-lang.io
Apache License 2.0
19 stars 14 forks source link

bug: `kcl mod add k8s` panic #28

Closed zong-zhe closed 10 months ago

zong-zhe commented 11 months ago

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Screenshot 2023-12-22 at 11 56 01

2. What did you expect to see? (Required)

kcl mod add k8s should add the dependency k8s:1.29 successfully.

3. What did you see instead (Required)

It panic.

4. What is your KCL components version? (Required)

The main branch of KCL CLI installed by go install kcl-lang.io/cli/cmd/kcl@main.

Peefy commented 10 months ago

Closed by https://github.com/kcl-lang/kpm/pull/239