lib/gush/cli.rb in gush-0.1.1 vs lib/gush/cli.rb in gush-0.1.2
- old
+ new
@@ -129,10 +129,10 @@
Pathname.pwd.join(options[:gushfile])
end
def load_gushfile
file = client.configuration.gushfile
- if !@gushfile.exist?
+ if !gushfile.exist?
raise Thor::Error, "#{file} not found, please add it to your project".colorize(:red)
end
require file
rescue LoadError