Skip to content

Commit

Permalink
fix auto
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreLouisIssa committed May 19, 2024
1 parent b11df9e commit 16674be
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

- Fixed `auto` so it uses the correct path for loading the lua file
- Fixed some incorrect types in the definitions


Expand Down
2 changes: 0 additions & 2 deletions src/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,6 @@ function public.auto(config_lua,config_cfg,descript,section,is_newer)
config_lua = default_config_lua
end
if env and env._PLUGIN then
rom.path.create_directory(env._PLUGIN.config_mod_folder_path)
config_lua = rom.path.combine(env._PLUGIN.plugins_mod_folder_path, config_lua)
if config_cfg ~= nil then
config_cfg = rom.path.combine(rom.paths.config(),env._PLUGIN.guid .. '-' .. config_cfg)
else
Expand Down

0 comments on commit 16674be

Please sign in to comment.