diff options
| author | Cody <cody@codyq.dev> | 2023-03-25 17:43:16 -0500 |
|---|---|---|
| committer | Cody <cody@codyq.dev> | 2023-03-25 17:43:16 -0500 |
| commit | 9741ca14f797c83372ac9c0368ff03f7ba23b430 (patch) | |
| tree | ea2cb5dae1ccd2e7b649b03f14ef84bf14ba431d | |
| parent | f9d13f3098b2a5984f59d612be87c184aba0b2c7 (diff) | |
| download | sloth-9741ca14f797c83372ac9c0368ff03f7ba23b430.tar.gz | |
Fix issues related to failing CI
| -rw-r--r-- | deny.toml | 4 | ||||
| -rw-r--r-- | src/main.rs | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -35,7 +35,9 @@ allow-osi-fsf-free = "neither" default = "deny" # Some crates require weird licenses, exceptions for those crates can be made here -exceptions = [] +exceptions = [ + { allow = ["Unicode-DFS-2016"], name = "unicode-ident", version = "*" }, +] # The confidence threshold for detecting a license from license text. # The higher the value, the more closely the license text must be to the diff --git a/src/main.rs b/src/main.rs index 5d4cafc..89ce7f9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,7 +23,7 @@ fn main() { } let source_path = &args[1]; - let Ok(source) = fs::read_to_string(source_path) else { + let Ok(_source) = fs::read_to_string(source_path) else { println!("Error while reading '{source_path}'"); return; }; |
