Skip to content

Commit

Permalink
Check Formatting: Move redirection
Browse files Browse the repository at this point in the history
While the command worked correctly before, the intention behind the
code should now be clearer.
  • Loading branch information
sanssecours committed May 18, 2018
1 parent aace361 commit 2ebbcc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/shell/check_formatting.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fi

scripts/reformat-source

if which sponge > /dev/null && which > /dev/null cmake-format
if which sponge > /dev/null && which cmake-format > /dev/null
then
scripts/reformat-cmake
else
Expand Down

0 comments on commit 2ebbcc1

Please sign in to comment.