apply review suggestions

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2021-08-26 13:08:11 +02:00
parent 8eab6be6a4
commit b281d3a7f9
@@ -119,7 +119,6 @@ export const lowerCaseEntityTriplet = (posixPath: string): string => {
export const lowerCaseEntityTripletInStoragePath = (
originalPath: string,
): string => {
// normalize path using path.sep (as its support both windows and posix)
let posixPath = originalPath;
if (originalPath.includes(path.win32.sep)) {
posixPath = originalPath.split(path.win32.sep).join(path.posix.sep);