grepleaks 1.2.4 → 1.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/grepleaks.js +4 -1
  2. package/package.json +1 -1
package/bin/grepleaks.js CHANGED
@@ -569,8 +569,11 @@ async function loginWithEmail() {
569
569
 
570
570
  async function loginWithGitHub() {
571
571
  log(`\n${c.cyan}${c.bold}${t('loginGitHubTitle')}${c.reset}\n`);
572
+ const loginUrl = `${WEB_URL}/login?cli=true&provider=github`;
573
+ log(`If your browser doesn't open, visit this URL:`);
574
+ log(`${c.cyan}${loginUrl}${c.reset}\n`);
572
575
  info(t('loginOpeningBrowser'));
573
- openBrowser(`${WEB_URL}/login?cli=true&provider=github`);
576
+ openBrowser(loginUrl);
574
577
 
575
578
  log(`\n${t('loginTokenPrompt')}\n`);
576
579
  const token = await prompt(t('loginTokenInput'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grepleaks",
3
- "version": "1.2.4",
3
+ "version": "1.2.5",
4
4
  "description": "Security scanner for your code - detect vulnerabilities, secrets, and misconfigurations",
5
5
  "main": "bin/grepleaks.js",
6
6
  "bin": {