Skip to content

Commit

Permalink
Update lib/sprockets/directive_processor.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
KODerFunk committed Dec 28, 2011
1 parent 477c409 commit b3201f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sprockets/directive_processor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def process_require_directory_directive(path = ".")
root = pathname.dirname.join(path).expand_path

unless (stats = stat(root)) && stats.directory?
raise ArgumentError, "require_tree argument must be a directory"
raise ArgumentError, "require_directory argument must be a directory"
end

context.depend_on(root)
Expand Down

0 comments on commit b3201f8

Please sign in to comment.