Skip to content

Commit 0b8e1c1

Browse files
committed
Update: Fix jscs lint problems
1 parent 1ad0f54 commit 0b8e1c1

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

lib/versioned/^4.0.0-alpha.1/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,8 @@ function execute(opts, env) {
5151
var output = JSON.stringify(gulpInst.tree({ deep: true }));
5252
if (typeof opts.tasksJson === 'boolean' && opts.tasksJson) {
5353
return console.log(output);
54-
} else {
55-
return fs.writeFileSync(opts.tasksJson, output, 'utf-8');
5654
}
55+
return fs.writeFileSync(opts.tasksJson, output, 'utf-8');
5756
}
5857
try {
5958
log.info('Using gulpfile', chalk.magenta(tildify(env.configPath)));

lib/versioned/^4.0.0-alpha.2/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ function execute(opts, env) {
5757

5858
if (typeof opts.tasksJson === 'boolean' && opts.tasksJson) {
5959
return console.log(output);
60-
} else {
61-
return fs.writeFileSync(opts.tasksJson, output, 'utf-8');
6260
}
61+
return fs.writeFileSync(opts.tasksJson, output, 'utf-8');
6362
}
6463
try {
6564
log.info('Using gulpfile', chalk.magenta(tildify(env.configPath)));

lib/versioned/^4.0.0/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ function execute(opts, env) {
5757

5858
if (typeof opts.tasksJson === 'boolean' && opts.tasksJson) {
5959
return console.log(output);
60-
} else {
61-
return fs.writeFileSync(opts.tasksJson, output, 'utf-8');
6260
}
61+
return fs.writeFileSync(opts.tasksJson, output, 'utf-8');
6362
}
6463
try {
6564
log.info('Using gulpfile', chalk.magenta(tildify(env.configPath)));

0 commit comments

Comments
 (0)