Skip to content

Commit

Permalink
fix: Fix empty output lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Huber committed Jan 13, 2025
1 parent fcf29f6 commit e51f4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ShellProvider/KubectlShellProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public function getShellCommand(array $program_to_call, ShellOptions $options):
*/
public function exists($file): bool
{
return $this->run(sprintf('stat %s > /dev/null 2>&1', $file), RunOptions::NONE, false)
return $this->run(sprintf('stat %s > /dev/null 2>&1', $file), RunOptions::HIDE_OUTPUT, false)
->succeeded();
}

Expand Down

0 comments on commit e51f4d9

Please sign in to comment.