Skip to content

Commit c08c87c

Browse files
committed
Fix handling of implicit --tasks argument
1 parent 9401f9c commit c08c87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/rails.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,7 @@ function! s:readable_default_rake_task(...) dict abort
14681468
endfunction
14691469

14701470
function! s:rake2rails(task) abort
1471-
let task = s:gsub(a:task, '^--task$', '')
1471+
let task = s:gsub(a:task, '^--tasks$', '')
14721472
let task = s:gsub(task, '<TEST\w*\=', '')
14731473
return task
14741474
endfunction

0 commit comments

Comments
 (0)