diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7494e3e1..839dffbb 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: diff --git a/lua/oil/adapters/ssh/connection.lua b/lua/oil/adapters/ssh/connection.lua index e2f5c115..67754ac0 100644 --- a/lua/oil/adapters/ssh/connection.lua +++ b/lua/oil/adapters/ssh/connection.lua @@ -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