mirror of
https://github.com/apple/pkl.git
synced 2026-04-24 17:28:37 +02: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.endObject();
|
jsonWriter.endObject();
|
||||||
|
jsonWriter.newline();
|
||||||
jsonWriter.close();
|
jsonWriter.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"resolvedDependencies": {}
|
"resolvedDependencies": {}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -86,6 +86,7 @@ class ProjectDependenciesResolverTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
.trimIndent()
|
.trimIndent()
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -44,6 +44,7 @@ class ProjectDepsTest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
"""
|
"""
|
||||||
.trimIndent()
|
.trimIndent()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user