ci: format

This commit is contained in:
Barrett Ruth 2026-02-24 15:17:24 -05:00
parent 5055e4a36b
commit 6cb5ae9dda
No known key found for this signature in database
GPG key ID: A6C96C9349D2FC81
2 changed files with 8 additions and 11 deletions

View file

@ -1,4 +1,4 @@
minimum_pre_commit_version: '3.5.0'
minimum_pre_commit_version: "3.5.0"
repos:
- repo: https://github.com/JohnnyMorganz/StyLua

View file

@ -201,16 +201,13 @@ function M.authorize()
local sha_result = vim.system({ 'printf', '%s', code_verifier }, { text = true }):wait()
local sha_pipe = vim
.system(
{
'sh',
'-c',
'printf "%s" "'
.. code_verifier
.. '" | openssl dgst -sha256 -binary | openssl base64 -A | tr "+/" "-_" | tr -d "="',
},
{ text = true }
)
.system({
'sh',
'-c',
'printf "%s" "'
.. code_verifier
.. '" | openssl dgst -sha256 -binary | openssl base64 -A | tr "+/" "-_" | tr -d "="',
}, { text = true })
:wait()
local code_challenge = sha_pipe.stdout or ''