Skip to content
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: the "-" in the dependency name is replaced with "_" in entries. #513

Open
zong-zhe opened this issue Oct 31, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@zong-zhe
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

When a tripartite dependency name contains hyphens -, the entries will only take effect if the hyphens - are replaced with underscores _.

[package]
name = "dev"
edition = "v0.10.0"
version = "0.0.1"

[dependencies]
my-dev = { path = "../../my-dev" } # hyphens in the name

[profile]
entries = ["../base/base.k", "main.k", "${my_dev:KCL_MOD}/base/base.k"] # replace it into underscores

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

[package]
name = "dev"
edition = "v0.10.0"
version = "0.0.1"

[dependencies]
my-dev = { path = "../../my-dev" } 

[profile]
entries = ["../base/base.k", "main.k", "${my-dev:KCL_MOD}/base/base.k"] # the same as the dependency name

3. What did you see instead (Required)

When a tripartite dependency name contains hyphens -, the entries will only take effect if the hyphens - are replaced with underscores _.

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

The main branch of kpm

@zong-zhe zong-zhe self-assigned this Oct 31, 2024
@zong-zhe zong-zhe added the bug Something isn't working label Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant