Skip to content

Commit

Permalink
Couple small tweaks (#50)
Browse files Browse the repository at this point in the history
Fix up some config issues
  • Loading branch information
EliSchleifer authored Oct 30, 2024
1 parent 1db5053 commit b3be15d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ lint:
read_output_from: tmp_file
disable_upstream: false
max_concurrency: 1
direct_configs: [toolbox.toml]
direct_configs: [toolbox.toml, log4rs.yaml]
version_command:
parse_regex: ${semver}
run: trunk-toolbox --version
direct_configs: [toolbox.toml, log4rs.yaml]
affects_cache:
- toolbox.toml
environment:
Expand Down
2 changes: 1 addition & 1 deletion log4rs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ appenders:
pattern: "{d(%H:%M:%S)} | {({l}):5.5} | {f}:{L} | {m}{n}"

root:
level: debug
level: error
appenders:
- stdout

Expand Down
4 changes: 3 additions & 1 deletion src/rules/if_change_then_change.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use crate::run::Run;
use anyhow::Context;
use log::debug;
use log::trace;
use std::collections::{HashMap, HashSet};
use std::fs::File;
use std::io::{BufRead, BufReader};
Expand Down Expand Up @@ -237,6 +237,8 @@ pub fn ictc(run: &Run, upstream: &str) -> anyhow::Result<Vec<diagnostic::Diagnos
}
}

trace!("ICTC blocks are:\n{:?}", blocks);

Ok(diagnostics)
}

Expand Down

0 comments on commit b3be15d

Please sign in to comment.