Skip to content

Commit abc09e9

Browse files
authored
Removed useless stuff
1 parent f88a911 commit abc09e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: index.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ async function Initiate_A_Request(username, password){
3838
}
3939

4040
//Main
41-
if(Self_Args.length == 0){
41+
if(!Self_Args.length){
4242
console.log(`node index.js <input> <output>
43-
Example: node index.js just_test.txt ./output_test.txt`)
43+
Example: node index.js accounts.txt output.txt`)
4444
process.exit()
4545
}
4646

47-
if(Self_Args[0] == ""){
47+
if(!Self_Args[0]){
4848
console.log("Invalid input.")
4949
process.exit()
5050
}
5151

52-
if(Self_Args[1] == ""){
52+
if(!Self_Args[1]){
5353
console.log("Invalid output.")
5454
process.exit()
5555
}

0 commit comments

Comments
 (0)