Skip to content

Commit

Permalink
Skip bad_path test. Push to paths array
Browse files Browse the repository at this point in the history
  • Loading branch information
RickiNano committed Oct 18, 2023
1 parent b4bf8fa commit efc1dd5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nano/secure/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ std::filesystem::path nano::unique_path (nano::networks network)
random_string += hex_chars[dis (gen)];
}

return (working_path (network) / random_string);
auto result = working_path (network) / random_string;
all_unique_paths.push_back (result);
return result;
}

void nano::remove_temporary_directories ()
Expand Down

0 comments on commit efc1dd5

Please sign in to comment.