Skip to content

Commit

Permalink
Fix powershell command syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
wyarde committed Feb 28, 2020
1 parent 2187561 commit 5487508
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/terrafmt-acctests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if ${error}; then
echo "$ find azurerm | egrep \"_test.go\" | sort | while read f; do terrafmt fmt -f \$f; done"
echo ""
echo "on windows:"
echo "$ Get-ChildItem -Path . -Recurse -Filter \"_test.go\" | foreach {terrafmt fmt -f $.name}"
echo "$ Get-ChildItem -Path . -Recurse -Filter \"*_test.go\" | foreach {terrafmt fmt -f $_.fullName}"
echo ""
exit 1
fi
Expand Down
2 changes: 1 addition & 1 deletion scripts/terrafmt-website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if ${error}; then
echo "$ find . | egrep html.markdown | sort | while read f; do terrafmt fmt \$f; done"
echo ""
echo "on windows:"
echo "$ Get-ChildItem -Path . -Recurse -Filter \"*html.markdown\" | foreach {terrafmt fmt $.name}"
echo "$ Get-ChildItem -Path . -Recurse -Filter \"*html.markdown\" | foreach {terrafmt fmt $_.fullName}"
echo ""
exit 1
fi
Expand Down

0 comments on commit 5487508

Please sign in to comment.