style: fix formatting
This commit is contained in:
parent
7fc1ee67d1
commit
d6b56c2380
|
@ -35,13 +35,13 @@ class DestCopy implements DiffingBroccoliPlugin {
|
|||
// Write log of added/changed/removed files to be used when we call `karma run` from gulp.
|
||||
var karmaArgs = '';
|
||||
if (treeDiff.addedPaths.length) {
|
||||
karmaArgs += ' --addedFiles ' + treeDiff.addedPaths.join(',');
|
||||
karmaArgs += ' --addedFiles ' + treeDiff.addedPaths.join(',');
|
||||
}
|
||||
if (treeDiff.changedPaths.length) {
|
||||
karmaArgs += ' --changedFiles ' + treeDiff.changedPaths.join(',');
|
||||
karmaArgs += ' --changedFiles ' + treeDiff.changedPaths.join(',');
|
||||
}
|
||||
if (treeDiff.removedPaths.length) {
|
||||
karmaArgs += ' --removedFiles ' + treeDiff.removedPaths.join(',')
|
||||
karmaArgs += ' --removedFiles ' + treeDiff.removedPaths.join(',')
|
||||
}
|
||||
fs.writeFileSync(path.join('tmp', 'build-log-karma-args.txt'), karmaArgs, {encoding: 'utf-8'});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue