Skip to content

Commit

Permalink
Merge branch 'main' into issue739
Browse files Browse the repository at this point in the history
  • Loading branch information
freddydk authored Sep 30, 2023
2 parents 67563fc + b0a96b4 commit 7f0b6b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Actions/CheckForUpdates/CheckForUpdates.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ try {
# DirectALGo is used to determine if the template is a direct link to an AL-Go repository
$directALGo = $templateUrl -like 'https://github.com/*/AL-Go@*'
if ($directALGo) {
if ($templateUrl -like 'https://github.com/microsoft/AL-Go@*') {
if ($templateUrl -like 'https://github.com/microsoft/AL-Go@*' -and -not ($templateUrl -like 'https://github.com/microsoft/AL-Go@*/*')) {
throw "You cannot use microsoft/AL-Go as a template repository. Please use a fork of AL-Go instead."
}
}
Expand Down

0 comments on commit 7f0b6b3

Please sign in to comment.