Skip to content

Commit

Permalink
fix: windows detection
Browse files Browse the repository at this point in the history
  • Loading branch information
lopi-py committed Aug 31, 2024
1 parent 3881e5f commit f4eb41f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/luau-lsp/util.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
local M = {}

M.is_windows = vim.uv.os_uname() == "Windows_NT"
M.is_windows = vim.uv.os_uname().sysname == "Windows_NT"

---@param path string
---@return boolean
Expand Down

0 comments on commit f4eb41f

Please sign in to comment.