Update src/CopyrighFixer/CopyrighFixer/configparser.cpp

Co-authored-by: Andrei Yankovich <EndrIIMail@gmail.com>
This commit is contained in:
Igor loschinin 2021-05-08 14:20:34 +03:00 committed by GitHub
parent 7287bae853
commit 23b791b48d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,11 +26,11 @@ bool ConfigParser::parseOptions(Config &conf) const {
} else {
QuasarAppUtils::Params::log("The given path does not exist or is not a directory",
QuasarAppUtils::VerboseLvl::Error);
conf.setSourceDir(".");
}
} else {
QuasarAppUtils::Params::log("Error: Not option sourceDir.",
QuasarAppUtils::VerboseLvl::Error);
QuasarAppUtils::Params::log(Sets a default source directory",
QuasarAppUtils::VerboseLvl::Info);
conf.setSourceDir(".");
return false;
}