mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 00:16:47 +00:00
--print option with multiple input files would only print one file.
This commit is contained in:
1 parent
ef820d8d5a
commit
3fd3ca32a6
1 file changed
+5
-1
@@ -399,7 +399,11 @@ public class Delombok {
|
||||
try {
|
||||
result.print(writer);
|
||||
} finally {
|
||||
writer.close();
|
||||
if (output != null) {
|
||||
writer.close();
|
||||
} else {
|
||||
writer.flush();
|
||||
}
|
||||
}
|
||||
}
|
||||
delegate.close();
|
||||
|
||||
Reference in new issue
Block a user