mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 20:15:09 +00:00
Delombok with -d used wrong output folder on Posix. Solves issue #249
This commit is contained in:
1 parent
7ccdf0b75f
commit
d00576e307
1 file changed
+2
-1
@@ -428,7 +428,8 @@ public class Delombok {
|
||||
}
|
||||
|
||||
private Writer createFileWriter(File outBase, File inBase, URI file) throws IOException {
|
||||
URI relative = inBase.toURI().relativize(file);
|
||||
URI base = inBase.toURI();
|
||||
URI relative = base.relativize(base.resolve(file));
|
||||
File outFile;
|
||||
if (relative.isAbsolute()) {
|
||||
outFile = new File(outBase, new File(relative).getName());
|
||||
|
||||
Reference in new issue
Block a user