Skip to content

Commit

Permalink
fix(json): Fixing json adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptiklemur committed Aug 13, 2019
1 parent a2aaf78 commit 1767a71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapter/Local/JSONFile/LocalJSONFileAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function __construct(array $config)
if (!isset($config['file'])) {
throw new \Exception('`file` is a required config.');
}
if (isset($config['jsonOptions'])) {
if (!isset($config['jsonOptions'])) {
$config['jsonOptions'] = JSON_PRETTY_PRINT;
}

Expand Down

0 comments on commit 1767a71

Please sign in to comment.