diff options
author | Akshay <[email protected]> | 2021-10-24 08:56:37 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-10-24 08:56:37 +0100 |
commit | b09f1f958423dee8c235f2eeb9c148b73936830f (patch) | |
tree | 0bab5509f6dfcb46af9aa686c313f556c7ae5f0b /bin/src/err.rs | |
parent | 5de0ba055cef7f2dc5451b1eaf0857deb77ae009 (diff) |
rework cli, fix is now a flag, implement dry-run mode
Diffstat (limited to 'bin/src/err.rs')
-rw-r--r-- | bin/src/err.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/src/err.rs b/bin/src/err.rs index c9db4d5..727e0cc 100644 --- a/bin/src/err.rs +++ b/bin/src/err.rs | |||
@@ -23,6 +23,8 @@ pub enum LintErr { | |||
23 | pub enum FixErr { | 23 | pub enum FixErr { |
24 | #[error("[{0}] syntax error: {1}")] | 24 | #[error("[{0}] syntax error: {1}")] |
25 | Parse(PathBuf, ParseError), | 25 | Parse(PathBuf, ParseError), |
26 | #[error("path error: {0}")] | ||
27 | InvalidPath(#[from] io::Error), | ||
26 | } | 28 | } |
27 | 29 | ||
28 | #[derive(Error, Debug)] | 30 | #[derive(Error, Debug)] |