refactor: loosen strict handling of missing --ignore-file

This commit is contained in:
psinghal20 2018-10-02 03:06:44 +05:30 committed by David Peter
parent adc467b2b2
commit f9c4e8d399

View file

@ -89,7 +89,7 @@ pub fn scan(path_vec: &[PathBuf], pattern: Arc<Regex>, config: Arc<FdOptions>) {
match err {
ignore::Error::Partial(_) => (),
_ => {
print_error_and_exit(&format!(
print_error(&format!(
"Error while parsing custom ignore file '{}': {}.",
ignore_file.to_string_lossy(),
err.description()