Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(swiftpm): Simplify
PinV2.toVcsInfo()
The property `PinV2.location` for `remoteSourceControl` dependencies always hold a repository URL pointing to a Git repository. The existing code is misleading, as it looks like a revision could be extracted from the `location`. Furthermore, for `https` URLs which lack the `.git` suffix, the VCS type could not be determined. Fix both issues by simply normalizing the given `location`. Signed-off-by: Frank Viernau <[email protected]>
- Loading branch information