From 9741ca14f797c83372ac9c0368ff03f7ba23b430 Mon Sep 17 00:00:00 2001 From: Cody Date: Sat, 25 Mar 2023 17:43:16 -0500 Subject: Fix issues related to failing CI --- deny.toml | 4 +++- src/main.rs | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/deny.toml b/deny.toml index e1d1a8d..16d0307 100644 --- a/deny.toml +++ b/deny.toml @@ -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; }; -- cgit v1.2.3