Skip to content

Commit

Permalink
Merge pull request #53 from davidrunger/print-fcom-yml-warning-first
Browse files Browse the repository at this point in the history
Print warning about missing `.fcom.yml` file before executing querier
  • Loading branch information
davidrunger authored Jun 5, 2020
2 parents a91873f + c4c84e0 commit 59d3895
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## Unreleased
### Fixed
- Print warning about missing `.fcom.yml` config file before executing querier

## 0.2.16 - 2020-06-05
### Tests
- Don't print debug statement(s) when executing tests
Expand Down
2 changes: 1 addition & 1 deletion exe/fcom
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ opts =
Fcom.logger.level = Logger::DEBUG if opts.debug?

if opts.parse_mode?
Fcom.warn_if_config_file_repo_option_missing
Fcom::Parser.new(opts).parse
else
Fcom.warn_if_config_file_repo_option_missing
Fcom::Querier.new(opts).query
end

0 comments on commit 59d3895

Please sign in to comment.