Skip to content

Commit e0c54a2

Browse files
committed
Match json file indentation in dynamic-access errors
1 parent 4f61e16 commit e0c54a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/MissingRegistrationUtils.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ private static void printLine(StringBuilder sb, Object object) {
150150
}
151151

152152
protected static JsonWriter getJSONWriter(StringWriter json) throws IOException {
153-
return new JsonPrettyWriter(json).indent().appendIndentation();
153+
return new JsonPrettyWriter(json)
154+
.indent().indent() // match indentation of reachability-metadata.json
155+
.appendIndentation();
154156
}
155157

156158
protected static String elementToJSON(JsonPrintable element) {

0 commit comments

Comments
 (0)