Skip to content

Commit

Permalink
Add PklProject.deps.json file with newline for POSIX compliance (ap…
Browse files Browse the repository at this point in the history
…ple#664)

* Add Project.deps.json file with newline for POSIX compliance

* Fix test cases
  • Loading branch information
holzensp authored Oct 1, 2024
1 parent 47f2143 commit cc1e432
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ private void write() throws IOException {
}
jsonWriter.endObject();
jsonWriter.endObject();
jsonWriter.newline();
jsonWriter.close();
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"schemaVersion": 1,
"resolvedDependencies": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ class ProjectDependenciesResolverTest {
}
}
}
"""
.trimIndent()
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ class ProjectDepsTest {
}
}
}
"""
.trimIndent()

Expand Down

0 comments on commit cc1e432

Please sign in to comment.