Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 committed Jan 6, 2025
1 parent 57b5e9d commit 107b97f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/dub/packagemanager.d
Original file line number Diff line number Diff line change
Expand Up @@ -908,7 +908,7 @@ class PackageManager {
auto path = PosixPath(fileName);
if (zip_prefix.length && !path.bySegment.startsWith(zip_prefix)) return PosixPath.init;
static if (is(typeof(path[0 .. 1]))) return path[zip_prefix.length .. $];
else return NativePath(path.bySegment.array[zip_prefix.length .. $]);
else return PosixPath(path.bySegment.array[zip_prefix.length .. $]);
}

void setAttributes(NativePath path, ArchiveMember am)
Expand Down

0 comments on commit 107b97f

Please sign in to comment.