merge webUI changes, fmt
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lynne Megido 2021-05-06 09:27:54 +10:00
commit 64efb0de27
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90
2 changed files with 30 additions and 10 deletions

View File

@ -16,8 +16,8 @@ default:
stages:
- lint
- build
- test
- version
- test
# TEMPLATE
.cargo-build:
@ -62,10 +62,28 @@ build-stable:
build-msrv:
extends: build-stable
image: "rust:1.43.0"
cache:
key: msrv
paths:
- target
- .cargo
build-nightly:
extends: build-stable
image: "rustlang/rust:nightly"
cache:
key: nightly
paths:
- target
- .cargo
# VERSION
fif-version:
stage: version
needs: ["build-stable"]
script:
cargo run -- -V
# TEST
@ -77,16 +95,18 @@ test-msrv:
extends: test-stable
image: "rust:1.43.0"
needs: ["build-msrv"]
cache:
key: msrv
paths:
- target
- .cargo
test-nightly:
extends: test-stable
image: "rustlang/rust:nightly"
needs: ["build-nightly"]
# VERSION
fif-version:
stage: version
needs: ["build-stable"]
script:
cargo run -- -V
cache:
key: nightly
paths:
- target
- .cargo

View File

@ -30,10 +30,10 @@ use once_cell::sync::OnceCell;
use walkdir::{DirEntry, WalkDir};
use crate::findings::Findings;
use crate::findings::ScanError;
use crate::formats::{Format, PowerShell, Shell};
use crate::mime_db::MimeDb;
use crate::parameters::{OutputFormat, ScanOpts};
use crate::findings::ScanError;
use std::collections::BTreeSet;
mod findings;