Skip to content

Commit fa83315

Browse files
committed
Replace tabs by spaces
1 parent 4891db7 commit fa83315

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

index.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,26 @@ var through = require('through2');
44
var execSync = require('child_process').execSync;
55

66
function diffBranches(options) {
7-
var filesChanged = [];
7+
var filesChanged = [];
88

9-
if (!options.baseBranch) {
10-
throw new gutil.PluginError('gulp-gitflow-diff', 'baseBranch param is required');
11-
}
9+
if (!options.baseBranch) {
10+
throw new gutil.PluginError('gulp-gitflow-diff', 'baseBranch param is required');
11+
}
1212

1313
var cmd = 'git diff --name-only ' + options.baseBranch + '..HEAD';
1414
filesChanged = execSync(cmd, {encoding: 'utf8'});
1515
filesChanged = filesChanged.split("\n");
1616
// last entry is just empty string
1717
filesChanged.pop();
1818

19-
return through.obj(
20-
function (file, enc, cb) {
21-
if (isFileChanged(file, filesChanged)) {
22-
this.push(file);
19+
return through.obj(
20+
function (file, enc, cb) {
21+
if (isFileChanged(file, filesChanged)) {
22+
this.push(file);
2323
}
24-
cb();
25-
}
26-
);
24+
cb();
25+
}
26+
);
2727
};
2828

2929
function isFileChanged(file, filesChanged) {

0 commit comments

Comments
 (0)