Code cleanup

This commit is contained in:
Isaac Abadi
2022-06-20 16:05:54 -04:00
parent 0951e445ac
commit 4c6c15d3a3
2 changed files with 39 additions and 47 deletions

View File

@@ -594,7 +594,6 @@ export class MainComponent implements OnInit {
if (simulated_args) {
// hide password if needed
const passwordIndex = simulated_args.indexOf('--password');
console.log(passwordIndex);
if (passwordIndex !== -1 && passwordIndex !== simulated_args.length - 1) {
simulated_args[passwordIndex + 1] = simulated_args[passwordIndex + 1].replace(/./g, '*');
}