mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 04:50:36 +00:00
Update tooling, fix luau analyze errors
This commit is contained in:
parent
c9ce29741b
commit
5040deddb6
4 changed files with 9 additions and 8 deletions
|
@ -65,9 +65,10 @@ fmt-check:
|
|||
analyze:
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
luau-lsp analyze .lune scripts tests types \
|
||||
luau-lsp analyze \
|
||||
--settings=".vscode/settings.json" \
|
||||
--ignore="tests/roblox/rbx-test-files/**"
|
||||
--ignore="tests/roblox/rbx-test-files/**" \
|
||||
.lune scripts tests types
|
||||
|
||||
# Zips up the built binary into a single zip file
|
||||
[no-exit-message]
|
||||
|
|
|
@ -171,7 +171,7 @@ local apiResult = net.request({
|
|||
method = "PATCH",
|
||||
headers = {
|
||||
["Content-Type"] = "application/json",
|
||||
},
|
||||
} :: { [string]: string },
|
||||
body = net.jsonEncode({
|
||||
title = "foo",
|
||||
body = "bar",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
[tools]
|
||||
luau-lsp = "JohnnyMorganz/luau-lsp@1.24.1"
|
||||
selene = "Kampfkarren/selene@0.25.0"
|
||||
stylua = "JohnnyMorganz/StyLua@0.18.2"
|
||||
luau-lsp = "JohnnyMorganz/luau-lsp@1.27.0"
|
||||
selene = "Kampfkarren/selene@0.26.1"
|
||||
stylua = "JohnnyMorganz/StyLua@0.19.1"
|
||||
|
|
|
@ -6,7 +6,7 @@ local response = net.request({
|
|||
url = "https://httpbingo.org/gzip",
|
||||
headers = {
|
||||
["Accept-Encoding"] = "gzip",
|
||||
},
|
||||
} :: { [string]: string },
|
||||
})
|
||||
|
||||
assert(
|
||||
|
@ -33,7 +33,7 @@ local response2 = net.request({
|
|||
url = "https://httpbingo.org/gzip",
|
||||
headers = {
|
||||
["Accept-Encoding"] = "gzip",
|
||||
},
|
||||
} :: { [string]: string },
|
||||
options = { decompress = false },
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue