lib/nicht/settings.rb in nicht-0.1.0 vs lib/nicht/settings.rb in nicht-0.1.1
- old
+ new
@@ -3,10 +3,10 @@
module Nicht
class Settings
FILENAME = '~/.nichtrc'.freeze
def initialize(path)
- @path = path
+ @path = File.expand_path path
end
def valid?
raise Nicht::SettingsNotFound unless File.exist? @path
projects_path = File.expand_path(File.read(@path))
\ No newline at end of file