diff --git a/lib/manager/maven/extract.ts b/lib/manager/maven/extract.ts index 8aa6d434560ac2..65d10b3899036a 100644 --- a/lib/manager/maven/extract.ts +++ b/lib/manager/maven/extract.ts @@ -132,8 +132,7 @@ function resolveParentFile(packageFile: string, parentPath: string) { parentDir = dirname(parentPath); } const dir = dirname(packageFile); - const result = normalize(join(dir, parentDir, parentFile)); - return process.platform === 'win32' ? result.split('\\').join('/') : result; + return normalize(join(dir, parentDir, parentFile)); } export function extractPackage(rawContent: string, packageFile: string = null) {