Skip to content

Commit

Permalink
ci: use stylua 0.18.2
Browse files Browse the repository at this point in the history
  • Loading branch information
stevearc committed Oct 9, 2023
1 parent ac2928c commit 650aa19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 3 additions & 1 deletion lua/oil/adapters/ssh/connection.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 650aa19

Please sign in to comment.