Skip to content

Commit

Permalink
fix: normalize slashes of stored vpk paths
Browse files Browse the repository at this point in the history
  • Loading branch information
craftablescience committed Jul 20, 2024
1 parent c0843d8 commit 0c14618
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/create.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ auto createFromRoot( std::string_view root_, std::string_view indexLocation, boo
}

// relative path
const auto pathRel{ std::filesystem::relative( path, root ).string() };
auto pathRel{ std::filesystem::relative( path, root ).string() };
sourcepp::string::normalizeSlashes( pathRel );

auto breaker{ false };
for ( const auto& exclusion : exclusionREs ) {
Expand Down

0 comments on commit 0c14618

Please sign in to comment.