Skip to content

Commit

Permalink
Prerequisites are no longer FileLists (that just seemed wrong).
Browse files Browse the repository at this point in the history
  • Loading branch information
jimweirich committed Aug 11, 2008
1 parent 01c9b0b commit 218447d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/rake.rb
Expand Up @@ -456,7 +456,7 @@ def source
# +enhance+ to add actions and prerequisites.
def initialize(task_name, app)
@name = task_name.to_s
@prerequisites = FileList[]
@prerequisites = []
@actions = []
@already_invoked = false
@full_comment = nil
Expand Down
1 change: 0 additions & 1 deletion test/test_tasks.rb
Expand Up @@ -20,7 +20,6 @@ def test_create
t = task(:name) { |task| arg = task; 1234 }
assert_equal "name", t.name
assert_equal [], t.prerequisites
assert t.prerequisites.is_a?(FileList)
assert t.needed?
t.execute(0)
assert_equal t, arg
Expand Down

0 comments on commit 218447d

Please sign in to comment.