mirror of
https://github.com/apple/pkl.git
synced 2026-03-23 01:29:20 +01:00
Add PklProject.deps.json file with newline for POSIX compliance (#664)
* Add Project.deps.json file with newline for POSIX compliance * Fix test cases
This commit is contained in:
committed by
GitHub
parent
47f2143e0d
commit
cc1e432a30
@@ -218,6 +218,7 @@ public final class ProjectDeps {
|
||||
}
|
||||
jsonWriter.endObject();
|
||||
jsonWriter.endObject();
|
||||
jsonWriter.newline();
|
||||
jsonWriter.close();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"resolvedDependencies": {}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -86,6 +86,7 @@ class ProjectDependenciesResolverTest {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
"""
|
||||
.trimIndent()
|
||||
)
|
||||
|
||||
@@ -44,6 +44,7 @@ class ProjectDepsTest {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
"""
|
||||
.trimIndent()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user