Skip to content

Commit 348e8a2

Browse files
SilverSlinky606timiya2333
authored andcommitted
Add: add default choice
1 parent 4b398c3 commit 348e8a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TMBotStart/src/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ int main()
66
{
77
if (access("node_modules", F_OK) != 0)
88
{
9-
string choice;
9+
string choice = "y";
1010
cout << "Requirement Not Found!" << endl;
1111
cout << "Make sure you`re installed node.js and npm!" << endl;
1212
cout << "Do you want to install requirement?(Y/n)" << endl;

0 commit comments

Comments
 (0)