File tree 2 files changed +10
-11
lines changed
2 files changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,11 @@ const cli = gens.map(gen => {
39
39
40
40
const firstCmd = cli [ 0 ] || { opts : { } , args : { } } ;
41
41
const cmd = firstCmd . args [ 0 ] ;
42
- let insight ;
42
+
43
+ const insight = new Insight ( {
44
+ trackingCode : 'UA-31537568-1' ,
45
+ pkg
46
+ } ) ;
43
47
44
48
function updateCheck ( ) {
45
49
const notifier = updateNotifier ( { pkg} ) ;
@@ -167,11 +171,6 @@ chalk.yellow(
167
171
) +
168
172
chalk . gray ( '\n==========================================================================' ) ;
169
173
170
- insight = new Insight ( {
171
- trackingCode : 'UA-31537568-1' ,
172
- pkg
173
- } ) ;
174
-
175
174
if ( firstCmd . opts . insight === false ) {
176
175
insight . config . set ( 'optOut' , true ) ;
177
176
} else if ( firstCmd . opts . insight ) {
Original file line number Diff line number Diff line change 44
44
"async" : " ^2.1.4" ,
45
45
"chalk" : " ^1.0.0" ,
46
46
"cli-list" : " ^0.2.0" ,
47
- "configstore" : " ^2.1 .0" ,
47
+ "configstore" : " ^3.0 .0" ,
48
48
"cross-spawn" : " ^5.0.1" ,
49
49
"figures" : " ^2.0.0" ,
50
50
"fullname" : " ^3.2.0" ,
60
60
"parse-help" : " ^0.1.1" ,
61
61
"read-pkg-up" : " ^2.0.0" ,
62
62
"root-check" : " ^1.0.0" ,
63
- "sort-on" : " ^1 .0.0" ,
63
+ "sort-on" : " ^2 .0.0" ,
64
64
"string-length" : " ^1.0.0" ,
65
65
"tabtab" : " ^1.3.2" ,
66
66
"titleize" : " ^1.0.0" ,
67
- "update-notifier" : " ^1.0.3 " ,
67
+ "update-notifier" : " ^2. 1.0" ,
68
68
"user-home" : " ^2.0.0" ,
69
69
"yeoman-character" : " ^1.0.0" ,
70
70
"yeoman-doctor" : " ^2.0.0" ,
71
71
"yeoman-environment" : " ^1.6.1" ,
72
- "yosay" : " ^1 .0.0"
72
+ "yosay" : " ^2 .0.0"
73
73
},
74
74
"devDependencies" : {
75
75
"gulp" : " ^3.6.0" ,
85
85
"proxyquire" : " ^1.0.1" ,
86
86
"registry-url" : " ^3.0.0" ,
87
87
"sinon" : " ^1.12.1" ,
88
- "xo" : " ^0.17 .1"
88
+ "xo" : " ^0.18 .1"
89
89
},
90
90
"tabtab" : {
91
91
"yo" : [
You can’t perform that action at this time.
0 commit comments