lib/shaddox/config.rb in shaddox-0.0.7 vs lib/shaddox/config.rb in shaddox-0.0.8
- old
+ new
@@ -1,10 +1,10 @@
module Shaddox
class Config
attr_accessor :servers, :targets, :repos, :tasks
def initialize(doxfile)
doxfile = './Doxfile' unless doxfile
- if !File.exists?(doxfilename)
+ if !File.exists?(doxfile)
puts "Doxfile could not be found.".red
exit(1)
end
@servers = Hash.new