File tree 1 file changed +13
-4
lines changed 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,8 @@ shell.echo(`
23
23
24
24
1. Setting dataset to ${ dataset } ...` ) ;
25
25
26
+
27
+ // dataset
26
28
if ( dataset === undefined || dataset === '' ) {
27
29
shell . echo ( `
28
30
**** ERROR: NO DATASET DEFINED ****
@@ -38,14 +40,21 @@ if (dataset === undefined || dataset === '') {
38
40
shell . exit ( ) ;
39
41
}
40
42
43
+
44
+ // google analytics
41
45
if ( googlea === undefined || googlea === '' ) {
42
- shell . echo ( ` 2. Google Analytics will not be used. Use the flag --googlea=XXXX to load google analyics for ID XXXX.`
43
- ) ;
46
+ shell . echo ( `
47
+ 2. Google Analytics will not be used.
48
+ Use the flag --googlea=XXXX to load google analyics for ID XXXX.
49
+ ` ) ;
44
50
googlea = 0 ;
51
+ } else {
52
+ shell . echo ( `
53
+ 2. Using Google Analyics with:${ googlea } .
54
+ If you want to disable google analytics, leave this flag off or set to 0.
55
+ ` ) ;
45
56
}
46
- else {
47
57
48
- shell . echo ( ` 2. Using Google Analyics with:` + googlea + ". If you want to disable google analytics, leave this flag off or set to 0." ) ;
49
58
}
50
59
51
60
let script = `
You can’t perform that action at this time.
0 commit comments