Skip to content

Commit 7cc282c

Browse files
Don't execute empty 'setup' clauses.
1 parent 293499e commit 7cc282c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/binary-test.js

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ var vows = require('vows');
1414
function binaryContext(options, context) {
1515
context.topic = function () {
1616
(context.setup || Function.prototype)();
17+
delete context.setup;
1718

1819
// We add __DIRECT__=1 to force binary into 'non-piped' mode
1920
exec('__DIRECT__=1 ./bin/cleancss ' + options, this.callback);

0 commit comments

Comments
 (0)