@@ -219,7 +219,7 @@ export async function wipeExistingData(url: string): Promise<void> {
219
219
}
220
220
console . log ( "All existing data has been deleted." ) ;
221
221
}
222
- } catch ( error ) {
222
+ } catch {
223
223
console . error ( "Could not connect to database to check for data" ) ;
224
224
}
225
225
client . close ( ) ;
@@ -246,7 +246,7 @@ export async function checkDb(url: string): Promise<boolean> {
246
246
} else {
247
247
dbEmpty = true ;
248
248
}
249
- } catch ( error ) {
249
+ } catch {
250
250
console . error ( "Could not connect to database to check for data" ) ;
251
251
}
252
252
client . close ( ) ;
@@ -706,7 +706,7 @@ async function main(): Promise<void> {
706
706
const { shouldGenerateAccessToken } = await inquirer . prompt ( {
707
707
type : "confirm" ,
708
708
name : "shouldGenerateAccessToken" ,
709
- message : "Would you like to generate a new access token secret?" ,
709
+ message : "Would you like us to auto- generate a new access token secret?" ,
710
710
default : process . env . ACCESS_TOKEN_SECRET ? false : true ,
711
711
} ) ;
712
712
@@ -722,7 +722,8 @@ async function main(): Promise<void> {
722
722
const { shouldGenerateRefreshToken } = await inquirer . prompt ( {
723
723
type : "confirm" ,
724
724
name : "shouldGenerateRefreshToken" ,
725
- message : "Would you like to generate a new refresh token secret?" ,
725
+ message :
726
+ "Would you like to us to auto-generate a new refresh token secret?" ,
726
727
default : process . env . REFRESH_TOKEN_SECRET ? false : true ,
727
728
} ) ;
728
729
@@ -859,7 +860,7 @@ async function main(): Promise<void> {
859
860
{
860
861
type : "input" ,
861
862
name : "serverPort" ,
862
- message : "Enter the server port:" ,
863
+ message : "Enter the Talawa-API server port:" ,
863
864
default : process . env . SERVER_PORT || 4000 ,
864
865
} ,
865
866
] ) ;
@@ -972,7 +973,8 @@ async function main(): Promise<void> {
972
973
const { overwriteDefaultData } = await inquirer . prompt ( {
973
974
type : "confirm" ,
974
975
name : "overwriteDefaultData" ,
975
- message : "Do you want to import default data?" ,
976
+ message :
977
+ "Do you want to import the required default data to start using Talawa in a production environment?" ,
976
978
default : false ,
977
979
} ) ;
978
980
if ( overwriteDefaultData ) {
@@ -982,7 +984,8 @@ async function main(): Promise<void> {
982
984
const { overwriteSampleData } = await inquirer . prompt ( {
983
985
type : "confirm" ,
984
986
name : "overwriteSampleData" ,
985
- message : "Do you want to import sample data?" ,
987
+ message :
988
+ "Do you want to import Talawa sample data for testing and evaluation purposes?" ,
986
989
default : false ,
987
990
} ) ;
988
991
if ( overwriteSampleData ) {
@@ -995,7 +998,8 @@ async function main(): Promise<void> {
995
998
const { shouldImportSampleData } = await inquirer . prompt ( {
996
999
type : "confirm" ,
997
1000
name : "shouldImportSampleData" ,
998
- message : "Do you want to import Sample data?" ,
1001
+ message :
1002
+ "Do you want to import Talawa sample data for testing and evaluation purposes?" ,
999
1003
default : false ,
1000
1004
} ) ;
1001
1005
if ( shouldImportSampleData ) {
0 commit comments