summaryrefslogtreecommitdiff
path: root/lib/rake/file_task.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rake/file_task.rb')
-rw-r--r--lib/rake/file_task.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rake/file_task.rb b/lib/rake/file_task.rb
index 03e26d967b..11823bbe46 100644
--- a/lib/rake/file_task.rb
+++ b/lib/rake/file_task.rb
@@ -39,7 +39,7 @@ module Rake
# Apply the scope to the task name according to the rules for this kind
# of task. File based tasks ignore the scope when creating the name.
def scope_name(scope, task_name)
- task_name
+ Rake.from_pathname(task_name)
end
end
end