We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbd58aa commit 1740925Copy full SHA for 1740925
composer-lock-diff
@@ -16,7 +16,7 @@ if (! $opts['only-prod']) {
16
}
17
18
if ($opts['json']) {
19
- $json_opts = ($opts['pretty']) ? JSON_PRETTY_PRINT : 0;
+ $json_opts = ($opts['pretty']) ? JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT : 0;
20
echo json_encode($changes, $json_opts), PHP_EOL;
21
return;
22
0 commit comments