Skip to content

Commit 2b22c53

Browse files
authored
Update GitHelpers.cs
1 parent 8ea813e commit 2b22c53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Packer/Helpers/GitHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ internal static bool IsInTargetVersion(this string location, string version)
4242

4343
internal static string ExtractModIdentifier(this string location, string version)
4444
=> location.NormalizePath()
45-
.Split(Path.DirectorySeparatorChar)[2];
45+
.Split('/')[2];
4646

4747
}
4848
}

0 commit comments

Comments
 (0)