mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-12-09 22:01:10 +01:00
Fix #469
This commit is contained in:
parent
74b28afd4a
commit
4185bf0326
2 changed files with 18 additions and 6 deletions
|
|
@ -37,7 +37,7 @@ class CRLFGeneratorStream(private val crlfOut: OutputStream, encoding: StreamEnc
|
|||
}
|
||||
|
||||
override fun close() {
|
||||
if (!isBinary && lastB == 'r'.code) {
|
||||
if (!isBinary && lastB == '\r'.code) {
|
||||
crlfOut.write('\n'.code)
|
||||
}
|
||||
crlfOut.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue