Closed Blatoy closed 5 years ago
The wrong variable is also used in the second check, making it display an error message when it should not:
if (privateKey /* should be certificate */ !== undefined) {
console.log("Could not find given file.");
}
This happens for the optional https question because the variable is not cleared when entering a wrong information.