Skip to content

Commit

Permalink
Add comment about reading config file
Browse files Browse the repository at this point in the history
  • Loading branch information
dqkqd authored and github-actions[bot] committed Oct 13, 2024
1 parent e19e3c4 commit 498c2a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selene/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@ fn start(mut options: opts::Options) {

let (config, config_directory): (CheckerConfig<toml::value::Value>, Option<PathBuf>) =
match options.config {
// User provides a config file. We must read it and report if it is misconfigured.
Some(config_file) => {
let config_contents = match fs::read_to_string(&config_file) {
Ok(contents) => contents,
Expand Down

0 comments on commit 498c2a5

Please sign in to comment.