ci: use stylua 0.18.2

This commit is contained in:
Steven Arcangeli 2023-10-08 23:01:14 -07:00
parent ac2928cca8
commit 650aa1916f
2 changed files with 4 additions and 2 deletions

View file

@ -34,7 +34,7 @@ jobs:
uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: v0.15.2
version: v0.18.2
args: --check lua tests
typecheck:

View file

@ -303,7 +303,9 @@ function SSHConnection:_consume()
-- HACK: Sleep briefly to help reduce stderr/stdout interleaving.
-- I want to find a way to flush the stderr before the echo DONE, but haven't yet.
-- This was causing issues when ls directory that doesn't exist (b/c ls prints error)
'echo "===BEGIN==="; ' .. cmd.cmd .. '; CODE=$?; sleep .01; echo "===DONE($CODE)==="\r'
'echo "===BEGIN==="; '
.. cmd.cmd
.. '; CODE=$?; sleep .01; echo "===DONE($CODE)==="\r'
)
end
end