You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -35,21 +69,35 @@ and recommends areas that can be improved.
35
69
A customized report will be sent to your email.
36
70
`);
37
71
38
-
this.log("We will send metadata about AWS resources to Lumigo.".yellow);
72
+
let{ approved }=loadConf();
39
73
40
-
const{ toProceed }=awaitinquirer.prompt([
41
-
{
42
-
type: "confirm",
43
-
name: "toProceed",
44
-
message:
45
-
"Do you give Lumigo permission to receive metadata about AWS resources?"
46
-
}
47
-
]);
74
+
if(!approved){
75
+
let{ toProceed }=awaitinquirer.prompt([
76
+
{
77
+
type: "confirm",
78
+
name: "toProceed",
79
+
message:
80
+
"Do you agree to Lumigo Terms of Use and Privacy policy ?'\n\tTerm of Use: https://lumigo.io/terms/\n\tPrivacy Policy: https://lumigo.io/privacy-policy/\n"
81
+
}
82
+
]);
48
83
49
-
if(!toProceed){
50
-
return;
84
+
if(!toProceed){
85
+
return;
86
+
}
87
+
toProceed=awaitinquirer.prompt([
88
+
{
89
+
type: "confirm",
90
+
name: "toProceed",
91
+
message:
92
+
"Do you give Lumigo permission to receive metadata about AWS resources?"
0 commit comments