File tree 3 files changed +11
-6
lines changed
3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
2
node_js :
3
+ - ' 6'
4
+ - ' 4'
3
5
- ' 0.12'
4
6
- ' 0.11'
5
7
- ' 0.10'
Original file line number Diff line number Diff line change @@ -123,11 +123,11 @@ function _attachExecMethod(qb) {
123
123
*/
124
124
qb . exec = function ( options , cb ) {
125
125
126
- var _options = _ . isFunction ( options ) ? { } : options
126
+ var _options = typeof options !== "undefined" && _ . isFunction ( options ) ? { } : options
127
127
, _cb ;
128
128
129
- if ( ! _ . has ( options , "prepare" ) ) {
130
- options . prepare = qb . _execPrepare ;
129
+ if ( ! _ . has ( _options , "prepare" ) ) {
130
+ _options . prepare = qb . _execPrepare ;
131
131
}
132
132
133
133
if ( _ . isFunction ( options ) ) {
Original file line number Diff line number Diff line change 29
29
"chai" : " ^2.2.0" ,
30
30
"grunt" : " ^0.4.5" ,
31
31
"grunt-contrib-jshint" : " ^0.11.1" ,
32
- "grunt-mocha-test" : " ^0.12.7 " ,
33
- "mocha" : " ^2.2.1 " ,
32
+ "grunt-mocha-test" : " ^0.13.2 " ,
33
+ "mocha" : " ^3.1.2 " ,
34
34
"uuid" : " ^2.0.1"
35
35
},
36
36
"keywords" : [
40
40
" cassandra" ,
41
41
" datastax" ,
42
42
" driver"
43
- ]
43
+ ],
44
+ "engines" : {
45
+ "node" : " >=0.10"
46
+ }
44
47
}
You can’t perform that action at this time.
0 commit comments