Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: normalizePath function to standardize the paths correctly
We have an edge case situation coming from a path like C:\\ The drive letter is stipped out and \\ remains and therefore appended with / to get `/\\`. normalizePath is suppposed to also standardize this path to unix format and it wasn't doing so, the path was returning as is. With this minor fix, `/` will be returned instead. The commit also improves the error message to be specific if the error is from dest or src path, for a COPY. fixes moby#4696 Signed-off-by: Anthony Nandaa <[email protected]>
- Loading branch information