Comparing version 0.2.1 to 0.2.2
@@ -30,2 +30,3 @@ var createDefaultStream = require('./lib/default_stream'); | ||
var only = false; | ||
var closed = false; | ||
var out = new Render(); | ||
@@ -41,3 +42,6 @@ | ||
t._exit(); | ||
out.close(); | ||
if (!closed) { | ||
closed = true | ||
out.close(); | ||
} | ||
if (!code && !t._ok && (!only || name === only)) { | ||
@@ -97,3 +101,4 @@ process.exit(1); | ||
if (pending.length) return pending.shift()(); | ||
if (count === 0) { | ||
if (count === 0 && !closed) { | ||
closed = true | ||
out.close(); | ||
@@ -100,0 +105,0 @@ } |
{ | ||
"name" : "tape", | ||
"version" : "0.2.1", | ||
"version" : "0.2.2", | ||
"description" : "tap-producing test harness for node and browsers", | ||
@@ -5,0 +5,0 @@ "main" : "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49176
1436