lib/nanoc/data_sources/filesystem/tools.rb in nanoc-4.12.14 vs lib/nanoc/data_sources/filesystem/tools.rb in nanoc-4.12.15
- old
+ new
@@ -65,10 +65,10 @@
absolute_target = resolve_symlink(fn)
if File.file?(absolute_target)
fn
else
all_files_in(absolute_target, extra_files, recursion_limit - 1).map do |sfn|
- fn + sfn[absolute_target.size..-1]
+ fn + sfn[absolute_target.size..]
end
end
end
when 'file'
fn