mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 18:09:22 +08:00
Use check_exit() instead of check_throw()
This commit is contained in:
parent
e4571e75c2
commit
fdec39f452
@ -9,7 +9,7 @@ namespace vcpkg {namespace Files
|
||||
|
||||
void check_is_directory(const fs::path& dirpath)
|
||||
{
|
||||
Checks::check_throw(fs::is_directory(dirpath), "The path %s is not a directory", dirpath.string());
|
||||
Checks::check_exit(fs::is_directory(dirpath), "The path %s is not a directory", dirpath.string());
|
||||
}
|
||||
|
||||
bool has_invalid_chars_for_filesystem(const std::string s)
|
||||
|
Loading…
Reference in New Issue
Block a user