Skip to content

Commit b530b73

Browse files
committed
Fixes #30 drupalcode uses semver now
1 parent de141c3 commit b530b73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

composer-lock-diff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,8 @@ function formatCompareGitlab($url, $from, $to) {
298298
}
299299

300300
function formatCompareDrupal($url, $from, $to) {
301-
$url = preg_replace('/\.git$/', '', $url);
302-
return sprintf('%s/compare/8.x-%s...8.x-%s', $url, substr(urlencode($from), 0, -2), substr(urlencode($to), 0, -2));
301+
// Drupalcode uses self-hosted Gitlab now
302+
return formatCompareGitlab($url, $from, $to);
303303
}
304304

305305
//

0 commit comments

Comments
 (0)