lib/i18n/tasks/scanners/base_scanner.rb in i18n-tasks-0.5.0 vs lib/i18n/tasks/scanners/base_scanner.rb in i18n-tasks-0.5.1

- old
+ new

@@ -100,10 +100,10 @@ def path_fnmatch_any?(path, globs) globs.any? { |glob| File.fnmatch(glob, path) } end def src_location(path, text, src_pos) - src = {path: path} + src = {src_path: path} if @record_src_loc src.merge!(src_text_location(text, src_pos)) end src end