File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Console/Commands/Hooks Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ protected function analizeCommittedFiles(Collection $commitFiles): self
236236 );
237237 $ this ->filesBadlyFormattedPaths [] = $ filePath ;
238238
239- if (config ('git-hooks.output_errors ' ) && ! config ('git-hooks.debug_commands ' )) {
239+ if (config ('git-hooks.output_errors ' ) && ! config ('git-hooks.debug_output ' )) {
240240 $ this ->command ->newLine ();
241241 $ this ->command ->getOutput ()->write ($ process ->getOutput ());
242242 }
@@ -409,7 +409,7 @@ private function autoFixFiles(): bool
409409 sprintf ('<fg=red> %s Autofix Failed:</> %s ' , $ this ->getName (), $ filePath )
410410 );
411411
412- if (config ('git-hooks.output_errors ' ) && ! config ('git-hooks.debug_commands ' )) {
412+ if (config ('git-hooks.output_errors ' ) && ! config ('git-hooks.debug_output ' )) {
413413 $ this ->command ->newLine ();
414414 $ this ->command ->getOutput ()->write ($ process ->getOutput ());
415415 }
You can’t perform that action at this time.
0 commit comments