Showing the changes to lib/docs (1 of 2 files). Show all
Unified · Split
| @@ -100,7 +100,7 @@ module Docs · 99 unmodified lines | |||
| 100 | result << '/' if result != '.' | 100 | result << '/' if result != '.' |
| 101 | end | 101 | end |
| 102 | else | 102 | else |
| 103 | dest_dir.parent.relative_path_from(base_dir).join(::File.basename(dest)).to_s | 103 | dest_dir.parent.relative_path_from(base_dir).join(dest.split('/').last).to_s |
| 104 | end | 104 | end |
| 105 | end | 105 | end |
| 106 | 106 | ||