We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 633d0d7 commit 9ed048cCopy full SHA for 9ed048c
1 file changed
src/007-ini.lua
@@ -84,7 +84,7 @@ Ini = (function()
84
-- Could not find a config anywhere (or we wanted to update)
85
else
86
-- Write the embedded config to disk
87
- local defaultConfig = io.open(configPath, 'w+')
+ local defaultConfig = io.open(PRICES_CONFIG_PATH, 'w+')
88
if defaultConfig then
89
defaultConfig:write(LIB_PRICES_CONFIG)
90
defaultConfig:close()
@@ -93,7 +93,7 @@ Ini = (function()
93
end
94
95
-- Try again
96
- file = io.open(configPath, 'r')
+ file = io.open(PRICES_CONFIG_PATH, 'r')
97
98
99
local priceConfig = loadIniFile(file)
0 commit comments