Skip to content

Commit

Permalink
Build: Fix lint failures
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Aug 16, 2020
1 parent 083ce36 commit 6537453
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

function helloWorld() {
console.log('Test');

}

module.exports = helloWorld;
2 changes: 1 addition & 1 deletion test/fixtures/testMore.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

function helloWorld() {
console.log('Test');

}

module.exports = helloWorld;
4 changes: 3 additions & 1 deletion test/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ function cleanup() {
]);
}

function noop() { }

describe('integrations', function() {

var taker;
Expand Down Expand Up @@ -65,7 +67,7 @@ describe('integrations', function() {
it('should handle a child process return', function(done) {
taker.task('test', function() {
if (isWindows) {
return spawn('cmd', ['/c', 'dir']).on('error', console.log);
return spawn('cmd', ['/c', 'dir']).on('error', noop);
}

return spawn('ls', ['-lh', __dirname]);
Expand Down
6 changes: 1 addition & 5 deletions test/last-run.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ var expect = require('expect');
var Undertaker = require('../');

describe('lastRun', function() {
var taker;
var taker, test1, test2, error, alias;
var defaultResolution = process.env.UNDERTAKER_TIME_RESOLUTION;
var test1;
var test2;
var error;
var alias;

beforeEach(function(done) {
process.env.UNDERTAKER_TIME_RESOLUTION = '0';
Expand Down
2 changes: 1 addition & 1 deletion test/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ describe('registry', function() {
});

it('should throw upon invalid registry', function(done) {
/*eslint no-unused-vars: 0*/
/* eslint no-unused-vars: 0 */
var taker;

function noGet() {
Expand Down

0 comments on commit 6537453

Please sign in to comment.