Closed zong-zhe closed 2 months ago
@zong-zhe I have raised a PR solving this issue, as there is one extra newline added in marshal function
of /pkg/package/toml.go
I think it's also releate with flake tests for test cover
I think it's also releate with flake tests for test cover
I think it's also releate with flake tests for test cover
Hi @liangyuanpeng I have tried to remove the extra new line in the opened PR, can ypu give more context on flake tests?
Hello @Manoramsharma cc @zong-zhe
Sorry, I don't think this issue has really been fixed. This PR https://github.com/kcl-lang/kpm/pull/427 just remove extra only one blankline in the kcl.mod file.
kpm init some_pkg
will generate a kcl.mod file containing three blank lines instead of one.some_pkg
folder, run kpm add k8s
and kpm add helloworld
will generate a kcl.mod file containing two blank lines instead of one.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
When a dependency is added using kpm, an extra newline is added
2. What did you expect to see? (Required)
No extra newline is added.
3. What did you see instead (Required)
4. What is your KCL components version? (Required)
The main branch of kpm