mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-03-16 05:05:02 +00:00
chore: general maintenance and cleanup (#306)
This commit is contained in:
@@ -100,5 +100,6 @@ function GetIntelephenseLicense()
|
||||
local f = assert(io.open(p, 'rb'))
|
||||
local content = f:read '*a'
|
||||
f:close()
|
||||
return string.gsub(content, '%s+', '')[1] or nil
|
||||
end
|
||||
local stripped = string.gsub(content, '%s+', '')
|
||||
return stripped == '' and nil or stripped
|
||||
end
|
||||
Reference in New Issue
Block a user