Skip to content

Commit

Permalink
Fixed path normalization for embedded maven
Browse files Browse the repository at this point in the history
Co-authored-by: Davy Landman <[email protected]>
  • Loading branch information
rodinaarssen and DavyLandman committed Jul 22, 2024
1 parent fb3c978 commit 6dc6715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/rascalmpl/library/util/PathConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ private static CliRequest buildRequest(String[] args, ISourceLocation manifestRo
var cons = CliRequest.class.getDeclaredConstructor(String[].class, ClassWorld.class);
cons.setAccessible(true);
var result = cons.newInstance(args, null);
setField(result, "workingDirectory", manifestRoot.getPath());
setField(result, "workingDirectory", new File(manifestRoot.getPath()).getPath());
setField(result, "multiModuleProjectDirectory", new File(manifestRoot.getPath()));
return result;
}
Expand Down

0 comments on commit 6dc6715

Please sign in to comment.