Verified Commit fdae208e authored by Lee Rowlands's avatar Lee Rowlands Committed by Lee Rowlands
Browse files

Issue #3274313 by larowlan: Parse Error on install

parent 67f48e86
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ function a11y_autocomplete_element_requirements($phase): array {
    $path = _a11y_autocomplete_element_find_library();
    $requirements['a11y_autocomplete_element']['description'] = new TranslatableMarkup('Found the library at %path', ['%path' => $path]);
  }
  catch (\Exception) {
  catch (\Exception $e) {
    $requirements['a11y_autocomplete_element']['description'] = new TranslatableMarkup('Could not find the a11y_autocomplete library at libraries/a11y_autocomplete/src/a11y.autocomplete.js or ../node_modules/@drupal/autocomplete/dist/a11y.autocomplete.min.js');
    $requirements['a11y_autocomplete_element']['severity'] = REQUIREMENT_ERROR;
  }