Skip to content

Commit 9e1a383

Browse files
committed
updates
1 parent fad319b commit 9e1a383

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

companyBasedGFG.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function companyGFG(companyName) {
3939
else
4040
{
4141
console.log(`${companyName} questions not availabe`);
42-
await browser.close();
42+
process.exit();
4343
}
4444
})
4545

main.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env node
21
const readline = require("readline");
32
const fs = require("fs");
43
const rl = readline.createInterface({
@@ -7,7 +6,7 @@ const rl = readline.createInterface({
76
terminal: false
87
})
98

10-
// console.log(fs.readFileSync("helpFile.txt")+"\n");
9+
console.log(fs.readFileSync("helpFile.txt")+"\n");
1110

1211

1312
rl.question("Input your choice: \n", function (ans) {

package.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,5 @@
1414
},
1515
"keywords": [],
1616
"author": "",
17-
"license": "ISC",
18-
"bin": {
19-
"QuickPrep": "./main.js"
20-
}
17+
"license": "ISC"
2118
}

0 commit comments

Comments
 (0)