Skip to content

Commit c6e8592

Browse files
committed
index task: correct error message on missing included
print the missing included file instead of the including one.
1 parent 8332221 commit c6e8592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/index.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def index_l10n_doc(filter_tags, doc_list, get_content)
6767
if new_content
6868
expand!(new_path, new_content, get_f_content, categories)
6969
else
70-
"\n\n[WARNING]\n====\nMissing `#{path}`\n\nSee original version for this content.\n====\n\n"
70+
"\n\n[WARNING]\n====\nMissing `#{new_path}`\n\nSee original version for this content.\n====\n\n"
7171
end
7272
end
7373
return content

0 commit comments

Comments
 (0)