lib/nicht.rb in nicht-0.1.4 vs lib/nicht.rb in nicht-0.1.6
- old
+ new
@@ -6,10 +6,10 @@
module Nicht
class << self
def run(path, search = nil)
settings = Nicht::Settings.new path
begin
- projects_path = settings.valid?
+ projects_path = settings.get_path
rescue Nicht::SettingsNotFound
puts 'Settings not found. You should create .nichtrc with settings in your home directory.'
rescue Nicht::SettingsNotValid
puts 'Settings are not valid.'
else