Skip to content

Commit

Permalink
Revert "fix(manager): fix maven path format (#4197)"
Browse files Browse the repository at this point in the history
This reverts commit 0e6fc1e.
  • Loading branch information
rarkins committed Jul 28, 2019
1 parent eefa893 commit 8e13f59
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/manager/maven/extract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8e13f59

Please sign in to comment.