Skip to content

Commit 6537453

Browse files
committedAug 16, 2020
Build: Fix lint failures
1 parent 083ce36 commit 6537453

File tree

5 files changed

+7
-9
lines changed

5 files changed

+7
-9
lines changed
 

‎test/fixtures/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
function helloWorld() {
4-
console.log('Test');
4+
55
}
66

77
module.exports = helloWorld;

‎test/fixtures/testMore.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
function helloWorld() {
4-
console.log('Test');
4+
55
}
66

77
module.exports = helloWorld;

‎test/integration.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ function cleanup() {
2424
]);
2525
}
2626

27+
function noop() { }
28+
2729
describe('integrations', function() {
2830

2931
var taker;
@@ -65,7 +67,7 @@ describe('integrations', function() {
6567
it('should handle a child process return', function(done) {
6668
taker.task('test', function() {
6769
if (isWindows) {
68-
return spawn('cmd', ['/c', 'dir']).on('error', console.log);
70+
return spawn('cmd', ['/c', 'dir']).on('error', noop);
6971
}
7072

7173
return spawn('ls', ['-lh', __dirname]);

‎test/last-run.js

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,8 @@ var expect = require('expect');
55
var Undertaker = require('../');
66

77
describe('lastRun', function() {
8-
var taker;
8+
var taker, test1, test2, error, alias;
99
var defaultResolution = process.env.UNDERTAKER_TIME_RESOLUTION;
10-
var test1;
11-
var test2;
12-
var error;
13-
var alias;
1410

1511
beforeEach(function(done) {
1612
process.env.UNDERTAKER_TIME_RESOLUTION = '0';

‎test/registry.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ describe('registry', function() {
147147
});
148148

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

153153
function noGet() {

0 commit comments

Comments
 (0)