Skip to content

Commit

Permalink
Fix path to config when OXIDIZED_HOME is set
Browse files Browse the repository at this point in the history
This bug was discovered while working on issue #3255
  • Loading branch information
robertcheramy committed Sep 5, 2024
1 parent 6fd2147 commit 26f48bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oxidized/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def self.load(cmd_opts = {})
raise InvalidConfig, "Error loading config: #{e.message}"
end

raise NoConfig, 'edit ~/.config/oxidized/config' if asetus.create
raise NoConfig, "edit #{ROOT}/config" if asetus.create

# override if comand line flag given
asetus.cfg.debug = cmd_opts[:debug] if cmd_opts[:debug]
Expand Down

0 comments on commit 26f48bd

Please sign in to comment.