mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-26 14:22:05 +01:00
ArmorImpl: Write to provided output stream instead of system.out
This commit is contained in:
parent
18a6090f0e
commit
c5b576d8d2
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ public class ArmorImpl implements Armor {
|
|||
return new Ready() {
|
||||
@Override
|
||||
public void writeTo(OutputStream outputStream) throws IOException {
|
||||
ArmoredOutputStream armor = ArmoredOutputStreamFactory.get(System.out);
|
||||
ArmoredOutputStream armor = ArmoredOutputStreamFactory.get(outputStream);
|
||||
Streams.pipeAll(data, armor);
|
||||
armor.close();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue