Merge pull request #107 from dnagir/patch-1

Small spelling fix
This commit is contained in:
Rémy Coutable 2011-08-02 03:18:01 -07:00
commit 57da06f2ec

View File

@ -10,7 +10,7 @@ module Guard
# Guardfile template needed inside guard gem # Guardfile template needed inside guard gem
def self.init(name) def self.init(name)
if ::Guard::Dsl.guardfile_include?(name) if ::Guard::Dsl.guardfile_include?(name)
::Guard::UI.info "Guardfile already include #{name} guard" ::Guard::UI.info "Guardfile already includes #{name} guard"
else else
content = File.read('Guardfile') content = File.read('Guardfile')
guard = File.read("#{::Guard.locate_guard(name)}/lib/guard/#{name}/templates/Guardfile") guard = File.read("#{::Guard.locate_guard(name)}/lib/guard/#{name}/templates/Guardfile")