Skip to content

Commit

Permalink
Ignore the .erb extension when looking up configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidS committed Apr 19, 2017
1 parent 8617d04 commit a92b0c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modulesync/settings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def initialize(global_defaults, defaults, module_defaults, module_configs, addit
end

def lookup_config(hash, filename)
hash[filename] || {}
hash[filename.chomp('.erb')] || hash[filename] || {}
end

def build_file_configs(filename)
Expand Down

0 comments on commit a92b0c0

Please sign in to comment.