mirror of
https://github.com/apple/pkl.git
synced 2026-01-13 15:13:38 +01:00
[PR #664] [MERGED] Add PklProject.deps.json file with newline for POSIX compliance
#659
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/apple/pkl/pull/664
Author: @holzensp
Created: 10/1/2024
Status: ✅ Merged
Merged: 10/1/2024
Merged by: @holzensp
Base:
main← Head:newlineOnResolve📝 Commits (2)
b414557Add Project.deps.json file with newline for POSIX compliance9c817bcFix test cases📊 Changes
4 files changed (+4 additions, -1 deletions)
View changed files
📝
pkl-core/src/main/java/org/pkl/core/project/ProjectDeps.java(+1 -0)📝
pkl-core/src/test/files/LanguageSnippetTests/input/projects/project6/PklProject.deps.json(+1 -1)📝
pkl-core/src/test/kotlin/org/pkl/core/project/ProjectDependenciesResolverTest.kt(+1 -0)📝
pkl-core/src/test/kotlin/org/pkl/core/project/ProjectDepsTest.kt(+1 -0)📄 Description
Currently,
PklProject.deps.jsonfiles generated bypkl project resolvedo not end with a newline. POSIX requires that it does. Adding it by default avoids churn in repositories with checks / auto-corrections.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.