Skip to content

Commit

Permalink
Fix file_create definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Pfenniger committed Aug 5, 2011
1 parent 5842081 commit 3ce7534
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/rake/dsl_definition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ce7534

Please sign in to comment.