File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- var through2 = require ( 'through2' ) ;
3
+ var through = require ( 'through2' ) ;
4
4
var valueOrFunction = require ( 'value-or-function' ) ;
5
5
var koalas = require ( 'koalas' ) ;
6
6
@@ -45,7 +45,7 @@ function readContents(opt) {
45
45
}
46
46
}
47
47
48
- return through2 . obj ( opt , readFile ) ;
48
+ return through . obj ( opt , readFile ) ;
49
49
}
50
50
51
51
module . exports = readContents ;
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- var through2 = require ( 'through2' ) ;
3
+ var through = require ( 'through2' ) ;
4
4
var fs = require ( 'graceful-fs' ) ;
5
5
6
6
var koalas = require ( 'koalas' ) ;
7
7
var valueOrFunction = require ( 'value-or-function' ) ;
8
8
var boolean = valueOrFunction . boolean ;
9
9
10
- function resolveSymlinks ( options ) {
10
+ function resolveSymlinks ( opt ) {
11
11
12
- var resolveSymlinks = koalas ( boolean ( options . resolveSymlinks ) , true ) ;
12
+ var resolveSymlinks = koalas ( boolean ( opt . resolveSymlinks ) , true ) ;
13
13
14
14
// A stat property is exposed on file objects as a (wanted) side effect
15
15
function resolveFile ( globFile , enc , callback ) {
@@ -46,7 +46,7 @@ function resolveSymlinks(options) {
46
46
}
47
47
}
48
48
49
- return through2 . obj ( options , resolveFile ) ;
49
+ return through . obj ( opt , resolveFile ) ;
50
50
}
51
51
52
52
module . exports = resolveSymlinks ;
You can’t perform that action at this time.
0 commit comments