Skip to content

Commit 4f8d295

Browse files
committed
Removed "close()" for files
1 parent b0a251a commit 4f8d295

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import org.apache.tools.ant.util.TeeOutputStream
2+
// TODO: test for tags that span multiple lines
23
boolean debug = false
34

45
class Tags {
@@ -43,7 +44,6 @@ class Tags {
4344
lines.each {
4445
if(it =~ /\\/* Output:/) {
4546
outputLine = it.trim()
46-
println outputLine
4747
}
4848
}
4949
}
@@ -161,8 +161,8 @@ subprojects {
161161
standardOutput = runStandardOutput
162162
errorOutput = runErrorOutput
163163
} << {
164-
runStandardOutput.close()
165-
runErrorOutput.close()
164+
println "$outFile size():> " + outFile.size()
165+
println "$errFile size():> " + errFile.size()
166166
if (outFile.size() == 0) outFile.delete()
167167
if (errFile.size() == 0) errFile.delete()
168168
}

0 commit comments

Comments
 (0)