summaryrefslogtreecommitdiff
path: root/script/utility.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/utility.lua')
-rw-r--r--script/utility.lua3
1 files changed, 0 insertions, 3 deletions
diff --git a/script/utility.lua b/script/utility.lua
index 57511dce..bb858699 100644
--- a/script/utility.lua
+++ b/script/utility.lua
@@ -652,9 +652,6 @@ function m.trim(str, mode)
end
function m.expandPath(path)
- if type(path) ~= 'string' then
- return nil
- end
if path:sub(1, 1) == '~' then
local home = getenv('HOME')
if not home then -- has to be Windows