diff --git a/.gitignore b/.gitignore index 689cf55..f4baa2b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ -Password.txt -*/Password.txt +[Pp]assword.txt # ---> VisualStudioCode .vscode/* diff --git a/Program.cs b/Program.cs index cce6f2d..01c276a 100644 --- a/Program.cs +++ b/Program.cs @@ -16,7 +16,7 @@ await page.GetByRole(AriaRole.Button, new() { Name = "CONTINUE" }).ClickAsync(ne await Task.Delay(5000); var egovOtp = await OTPExtractor.GetEgovOTP(context, page); -if (egovOtp != null) +if (egovOtp is not null) Console.WriteLine($"Extracted eGov OTP: {egovOtp}"); else return;