aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody <cody@codyq.dev>2023-03-25 17:43:16 -0500
committerCody <cody@codyq.dev>2023-03-25 17:43:16 -0500
commit9741ca14f797c83372ac9c0368ff03f7ba23b430 (patch)
treeea2cb5dae1ccd2e7b649b03f14ef84bf14ba431d
parentf9d13f3098b2a5984f59d612be87c184aba0b2c7 (diff)
downloadsloth-9741ca14f797c83372ac9c0368ff03f7ba23b430.tar.gz
Fix issues related to failing CI
-rw-r--r--deny.toml4
-rw-r--r--src/main.rs2
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;
};