Skip to content

Commit 2eb77fe

Browse files
author
Hela Bot
committedDec 19, 2024·
Changed git creds
1 parent d28e95f commit 2eb77fe

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
 

‎.DS_Store

0 Bytes
Binary file not shown.

‎src/scans/tools/secret_tool.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ impl SecretTool {
6363
}
6464
}
6565

66-
let cmd = format!("trufflehog filesystem --no-update {} --json --exclude-detectors=FLOAT,SIGNABLE,YANDEX,OANDA,CIRCLE,PARSEUR,URI,SENTRYTOKEN,SIRV,ETSYAPIKEY,UNIFYID,MIRO,FRESHDESK,ALIBABA,YELP,FLATIO,GETRESPONSE,ATERA,GITTER,SONARCLOUD,AZURESEARCHADMINKEY,MYFRESHWORKS,BOX,GODADDY", _path);
66+
let cmd = format!("trufflehog filesystem --no-update {} --json --exclude-detectors=FLOAT,SIGNABLE,YANDEX,OANDA,CIRCLE,PARSEUR,URI,SENTRYTOKEN,SIRV,ETSYAPIKEY,UNIFYID,MIRO,FRESHDESK,ALIBABA,YELP,FLATIO,GETRESPONSE,ATERA,GITTER,SONARCLOUD,AZURESEARCHADMINKEY", _path);
6767
let output_data = execute_command(&cmd, true).await;
68-
68+
println!("Cmd {:?}", cmd);
6969
let mut results: Vec<Value> = Vec::new();
7070

7171
for line in output_data.lines() {

‎src/utils/common.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -439,12 +439,12 @@ fn save_pr_branch_files(
439439
pub fn set_git_global_user_config() -> Result<(), Box<dyn std::error::Error>> {
440440
// Set global email
441441
Command::new("git")
442-
.args(&["config", "--global", "user.email", "helabot@groww.in"])
442+
.args(&["config", "--global", "user.email", "rohitcoder@github.com"])
443443
.output()?;
444444

445445
// Set global name
446446
Command::new("git")
447-
.args(&["config", "--global", "user.name", "Hela Bot"])
447+
.args(&["config", "--global", "user.name", "rohitcoder"])
448448
.output()?;
449449

450450
Ok(())

0 commit comments

Comments
 (0)
Please sign in to comment.