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:
1 parent
47f2143e0d
commit
cc1e432a30
4 files changed
+4
-1
No files matched your search
@@ -218,6 +218,7 @@ public final class ProjectDeps {
|
||||
}
|
||||
jsonWriter.endObject();
|
||||
jsonWriter.endObject();
|
||||
jsonWriter.newline();
|
||||
jsonWriter.close();
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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