Skip to content

Commit

Permalink
Fixing automatic build
Browse files Browse the repository at this point in the history
  • Loading branch information
stankut committed Jun 14, 2024
1 parent 6869b37 commit 37987ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ public function redirectToNemlogin(RequestEvent $event) {
if (!$authProviderPlugin->isAuthenticated()) {
// Redirect directly to the external IdP.
$response = new RedirectResponse($this->nemloginAuthProvider->getLoginUrl([], $authProviderPlugin->getPluginId())->toString());
$event->setResponse($response);
}
else {
$settingFormConfig = $this->configFactory->get(SettingsForm::$configName);
Expand Down
4 changes: 2 additions & 2 deletions scripts/code-analysis
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ drupal_composer() {
composer --working-dir="$drupal_dir" --no-interaction "$@"
}

# Create new Drupal 9 project
# Create new Drupal 10 project
if [ ! -f "$drupal_dir/composer.json" ]; then
composer --no-interaction create-project drupal/recommended-project:^9 "$drupal_dir"
composer --no-interaction create-project drupal/recommended-project:^10 "$drupal_dir"
fi
# Copy our code into the modules folder
mkdir -p "$drupal_dir/$module_path"
Expand Down

0 comments on commit 37987ab

Please sign in to comment.