diff --git a/src/config/utils.rs b/src/config/utils.rs index 6511890c..f3bd3b44 100644 --- a/src/config/utils.rs +++ b/src/config/utils.rs @@ -1,7 +1,7 @@ use crate::{ utils::{module_colorizer, status_colorizer}, - DEFAULT_IGNORED_EXTENSIONS, DEFAULT_METHOD, DEFAULT_STATUS_CODES, DEFAULT_WORDLIST, VERSION, - DEFAULT_BACKUP_EXTENSIONS + DEFAULT_BACKUP_EXTENSIONS, DEFAULT_IGNORED_EXTENSIONS, DEFAULT_METHOD, DEFAULT_STATUS_CODES, + DEFAULT_WORDLIST, VERSION, }; #[cfg(not(test))] use std::process::exit; diff --git a/src/lib.rs b/src/lib.rs index 1808d260..8e170c2d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -60,9 +60,7 @@ pub(crate) const DEFAULT_IGNORED_EXTENSIONS: [&str; 38] = [ ]; /// Default set of extensions to search for when auto-collecting backups during scans -pub(crate) const DEFAULT_BACKUP_EXTENSIONS: [&str; 5] = [ - "~", ".bak", ".bak2", ".old", ".1" -]; +pub(crate) const DEFAULT_BACKUP_EXTENSIONS: [&str; 5] = ["~", ".bak", ".bak2", ".old", ".1"]; /// Default wordlist to use when `-w|--wordlist` isn't specified and not `wordlist` isn't set /// in a [ferox-config.toml](constant.DEFAULT_CONFIG_NAME.html) config file.