Skip to content

Commit cbd58aa

Browse files
committed
Terminate JSON Text output
1 parent d8da920 commit cbd58aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

composer-lock-diff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if (! $opts['only-prod']) {
1717

1818
if ($opts['json']) {
1919
$json_opts = ($opts['pretty']) ? JSON_PRETTY_PRINT : 0;
20-
print json_encode($changes, $json_opts);
20+
echo json_encode($changes, $json_opts), PHP_EOL;
2121
return;
2222
}
2323

0 commit comments

Comments
 (0)