-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Import of modules containing "-" fails #1261
Comments
Hello. Thanks for the feedback. Could you please show me the content of kcl.mod? I will double check it. |
Yep, sure @Peefy
And for the whole picture
|
Thank you! I will fix it and release a new version today. |
Also just an idea which seems pretty much as another issue... To brush up modules import behavior. By this I mean, even if there's no dependency in |
Thank you too! It's a pleasure to work with KCL language. |
Thank you, I will fix it together. |
Closed by kcl-lang/cli#73 and kcl-lang/kpm#309 |
Hi there, I've bumped into inability to use hosted modules from artifactshub in case if they contain dash "-" character.
1. Minimal reproduce step (Required)
Let's suppose the following directory structure:
Namely the import statement is located in the
rule.k
file which is in turn imported frommain.k
triggered bykcl.yaml
.Sample rules.k contents:
In case a module doesn't have any dashes such as
k8s
everything works smooth whereas importingvictoria_metrics_operator
doesn't work. Error message:It's odd, but if we place the same dashed import on the level with
kcl.mod
into say ita.k
file, and simply invokekcl a.k
this scenario is operable.4. What is your KCL components version? (Required)
"0.8.6"
The text was updated successfully, but these errors were encountered: