Browse Source

Ensure ::exists() call can't throw (#1609)

master
trapexit 3 days ago
committed by GitHub
parent
commit
1290ab9708
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/branches.cpp

2
src/branches.cpp

@ -203,7 +203,7 @@ namespace l
{
std::error_code ec;
if(!std::filesystem::exists(path))
if(!std::filesystem::exists(path,ec))
{
SysLog::notice("branch `{}` does not currently exist",path);
}

Loading…
Cancel
Save