aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseifferth <43514227+seifferth@users.noreply.github.com>2021-10-16 13:35:28 +0200
committerGitHub <noreply@github.com>2021-10-16 13:35:28 +0200
commitabfe085ed8e2ee3be9b2d0b054d1727627bdba00 (patch)
tree2b1292596c09f50207f891cd5e582ab67ef336c4
parentec49068a1a6ac9509946456cfb1753f79618cf30 (diff)
parent3d9146ba2811923eca07a2271f235d256739076e (diff)
downloadvis-editorconfig-abfe085ed8e2ee3be9b2d0b054d1727627bdba00.tar.gz
Merge pull request #10 from raedwulf/fix-nil-path
Fix incorrect path variable check
-rw-r--r--edconf.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/edconf.lua b/edconf.lua
index da3c32d..25edf6b 100644
--- a/edconf.lua
+++ b/edconf.lua
@@ -178,7 +178,7 @@ function ec_iter(p)
end
function ec_set_values(file)
- if path then
+ if file.path then
for name, value in ec_iter(file.path) do
if OPTIONS[name] then
OPTIONS[name](value, file)