Skip to content

Commit

Permalink
do not print variablies when start bin
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-xz committed Jan 16, 2024
1 parent ccf2658 commit 6e69f1a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions bin/gendiff
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ $params = array(
);

$args = Docopt::handle($doc, $params);
foreach ($args as $k=>$v)
echo $k.': '.json_encode($v).PHP_EOL;

$pathToFile1 = $args["<firstFile>"];
$pathToFile2 = $args["<secondFile>"];
Expand Down
2 changes: 1 addition & 1 deletion src/Differ/Differ.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ function genDiff($pathToFile1, $pathToFile2)
}
}, array_keys($mergedFiles), array_values($mergedFiles));
$stringResult = implode("\n", $result);
return "{\n{$stringResult}\n}";
return "{\n{$stringResult}\n}\n";
}

0 comments on commit 6e69f1a

Please sign in to comment.