Skip to content

Commit 52c579e

Browse files
committed
Spotless
1 parent fd74efe commit 52c579e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dd-java-agent/agent-profiling/profiling-otel/src/main/java/com/datadog/profiling/otel/JfrToOtlpConverterCLI.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ private void run(String[] args) throws IOException {
7676
}
7777

7878
// Apply pretty-printing to JSON output
79-
if (prettyPrint && outputKind == JfrToOtlpConverter.Kind.JSON) {
79+
// --pretty implies --json
80+
if (prettyPrint) {
8081
outputKind = JfrToOtlpConverter.Kind.JSON_PRETTY;
8182
}
8283

0 commit comments

Comments
 (0)