fbshipit
fbshipit copied to clipboard
Sanity check: make sure that trailing slashes are present on source dir when target is a directory
Eg Map { 'foo' => '' } is invalid, because then foo/bar becomes /bar instead of bar.
4fd8a55cb9a261baaf2b2b7a767b1eb6ce596422 updated all Facebook projects to check for this. I think there are a few tests that cover this now as well, but nothing in the stock ShipIt.