Skip to content

Commit

Permalink
Fix not correctly processing excludes in dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sainan committed Mar 25, 2023
1 parent 37d6f74 commit aef513c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sun/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ struct Project
line.erase(0, 1);
matchFiles(std::move(line), cpps, [](soup::AtomicStack<std::filesystem::path>& cpps, std::filesystem::path file)
{
file = std::filesystem::absolute(file);
for (auto node = cpps.head.load(); node != nullptr; node = node->next)
{
if (node->data == file)
Expand Down Expand Up @@ -278,7 +277,7 @@ struct Project
{
if (query.find('*') == std::string::npos)
{
callback(cpps, std::move(query));
callback(cpps, dir / query);
}
else
{
Expand Down

0 comments on commit aef513c

Please sign in to comment.