Update src/CopyrighFixer/CopyrighFixer/configparser.cpp

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

View File

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