Skip to content

Commit

Permalink
Merge pull request #35 from RedHatGov/bugfix/operate_sh_formatter
Browse files Browse the repository at this point in the history
Ensure ~/.local/bin in path
  • Loading branch information
jharmison-redhat authored Feb 17, 2021
2 parents d530252 + f0bdc9f commit 53458eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/operate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ if which formatter &>/dev/null; then
. $(which formatter)
else
if echo "$*" | grep -qF -- '--formatter'; then
mkdir +p ~/.local/bin/formatter
export PATH=~/.local/bin:"$PATH"
curl -o ~/.local/bin/formatter https://raw.githubusercontent.com/solacelost/output-formatter/modern-only/formatter
chmod +x ~/.local/bin/formatter
. ~/.local/bin/formatter
Expand Down

0 comments on commit 53458eb

Please sign in to comment.