Skip to content

Commit f22060f

Browse files
committed
strip binary
1 parent 352721c commit f22060f

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ jobs:
1616
args: --release
1717
- name: Rename binary
1818
run: mv target/release/scant3r scant3r-macos64
19+
- name: strip
20+
run: strip scant3r-macos64
1921
- name: Upload to release
2022
env:
2123
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -41,6 +43,8 @@ jobs:
4143
args: --release
4244
- name: Rename binary
4345
run: mv target/release/scant3r scant3r-linux-amd64
46+
- name: strip
47+
run: strip scant3r-linux-amd64
4448
- name: Upload to release
4549
uses: JasonEtco/upload-to-release@d648f1babf776de9cad881320bd9e9818fc3b262
4650
with:

cli/main.rs

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,12 @@ fn main() {
6262
let mut scan_settings =
6363
scan::Scanner::new(vec!["xss".to_string()], reqs, sub.is_present("keep-value"));
6464
scan_settings.load_config(&config_file);
65-
scan_settings
66-
.scan(
67-
sub.value_of("concurrency")
68-
.unwrap()
69-
.parse::<usize>()
70-
.unwrap(),
71-
);
65+
scan_settings.scan(
66+
sub.value_of("concurrency")
67+
.unwrap()
68+
.parse::<usize>()
69+
.unwrap(),
70+
);
7271
}
7372
_ => println!("No subcommand was used"),
7473
}

0 commit comments

Comments
 (0)