Permalink
Browse files

Fix file_create definition

  • Loading branch information...
1 parent 5842081 commit 3ce753425534d8f53ca5e6a6dea50ef52f751a26 @zimbatm committed Aug 4, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/rake/dsl_definition.rb
@@ -52,8 +52,8 @@ def file(*args, &block)
# Declare a file creation task.
# (Mainly used for the directory command).
- def file_create(args, &block)
- Rake::FileCreationTask.define_task(args, &block)
+ def file_create(*args, &block)
+ Rake::FileCreationTask.define_task(*args, &block)
end
# Declare a set of files tasks to create the given directories on

0 comments on commit 3ce7534

Please sign in to comment.