File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -58,19 +58,19 @@ module.exports = function(opt) {
58
58
args . push ( '--cdata' ) ;
59
59
}
60
60
if ( typeof options . autoclose !== 'undefined' ) {
61
- var list = options . autoclose ;
62
- if ( isArray ( list ) ) {
63
- list = list . join ( ',' ) ;
61
+ var closeList = options . autoclose ;
62
+ if ( isArray ( closeList ) ) {
63
+ closeList = closeList . join ( ',' ) ;
64
64
}
65
- args . push ( '--autoclose' , list . toString ( ) ) ;
65
+ args . push ( '--autoclose' , closeList . toString ( ) ) ;
66
66
}
67
67
if ( typeof options . require !== 'undefined' ) {
68
- var list = options . require ;
69
- if ( ! isArray ( list ) ) {
70
- list = [ list ] ;
68
+ var requireList = options . require ;
69
+ if ( ! isArray ( requireList ) ) {
70
+ requireList = [ requireList ] ;
71
71
}
72
- for ( var i = 0 ; i < list . length ; i ++ ) {
73
- args . push ( '-r' , list [ i ] ) ;
72
+ for ( var i = 0 ; i < requireList . length ; i ++ ) {
73
+ args . push ( '-r' , requireList [ i ] ) ;
74
74
}
75
75
}
76
76
if ( options . suppressEval ) {
You can’t perform that action at this time.
0 commit comments