Skip to content

Commit

Permalink
undo ruby version change and undo comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sgringwe committed Apr 25, 2014
1 parent 095698a commit a6fead6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .ruby-version
@@ -1 +1 @@
2.1.1
2.0.0
12 changes: 6 additions & 6 deletions lib/codesake/dawn/core.rb
Expand Up @@ -118,12 +118,12 @@ def self.find_conf(create_if_none = false)
'~/',
'/usr/local/etc/',
]
# path_order.each do |p|
# fn = p + conf_name if p.start_with?('/')
# # if outside $HOME the config file must be hidden
# fn = File.expand_path(p) + '/.'+conf_name if ! p.start_with?('/')
# return fn if File.exist?(fn)
# end
path_order.each do |p|
fn = p + conf_name if p.start_with?('/')
# if outside $HOME the config file must be hidden
fn = File.expand_path(p) + '/.'+conf_name if ! p.start_with?('/')
return fn if File.exist?(fn)
end

# Codesake::Dawn didn't find a config file.
# If create_if_none flag is set to false, than I'll return nil so the
Expand Down

0 comments on commit a6fead6

Please sign in to comment.