From ef5cea8527177072bc9590419b343d397ec4d77f Mon Sep 17 00:00:00 2001 From: greyguy21 <62389546+greyguy21@users.noreply.github.com> Date: Fri, 6 Oct 2023 16:23:31 +0800 Subject: [PATCH] Add log statement for valid url for GUI (#198) --- cli.js | 1 + 1 file changed, 1 insertion(+) diff --git a/cli.js b/cli.js index 3d213c07..acda75fd 100644 --- a/cli.js +++ b/cli.js @@ -288,6 +288,7 @@ const scanInit = async argvs => { switch (res.status) { case statuses.success.code: argvs.finalUrl = res.url; + if (process.env.RUNNING_FROM_PH_GUI) console.log('Url is valid'); break; case statuses.unauthorised.code: printMessage([statuses.unauthorised.message], messageOptions);