diff options
author | Akshat Agarwal <humancalico@disroot.org> | 2020-10-21 16:42:01 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-21 13:12:01 +0200 |
commit | d6c824a6c38e4d443a7f050e2f3b7703f98b2cdc (patch) | |
tree | 838d2bec35c12fba207ba5726cb784333d5d9493 /cli/main.rs | |
parent | 0fb39f9176c5bfb6a8cd50addd85d596fe93c459 (diff) |
refactor(cli): use PathBuf instead of String for lint and fmt subcommands (#8042)
Diffstat (limited to 'cli/main.rs')
-rw-r--r-- | cli/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/main.rs b/cli/main.rs index 1e174abd7..9080bc6cb 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -217,9 +217,9 @@ async fn install_command( async fn lint_command( flags: Flags, - files: Vec<String>, + files: Vec<PathBuf>, list_rules: bool, - ignore: Vec<String>, + ignore: Vec<PathBuf>, json: bool, ) -> Result<(), AnyError> { if !flags.unstable { |