Skip to content

Commit 1136abe

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fcbd9be commit 1136abe

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/subcommand/checkout_subcommand.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#include "../subcommand/checkout_subcommand.hpp"
22

3+
#include <filesystem>
34
#include <iostream>
45
#include <set>
5-
#include <filesystem>
66

77
#include "../subcommand/status_subcommand.hpp"
88
#include "../utils/git_exception.hpp"
@@ -122,9 +122,7 @@ void checkout_subcommand::run()
122122
m_positional_args.end(),
123123
[&](const std::string& p)
124124
{
125-
return std::filesystem::exists(
126-
std::filesystem::path(directory) / p
127-
);
125+
return std::filesystem::exists(std::filesystem::path(directory) / p);
128126
}
129127
);
130128

0 commit comments

Comments
 (0)