Skip to content

Commit

Permalink
FMA - Update compatibility pattern for UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Franck Mafféniny authored and Franck Mafféniny committed Feb 21, 2025
1 parent 9a7b856 commit bc27601
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/js/common/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { getJSON, postJSON, post } from "sonar-request";

// Function used to get current SonarQube Server version
export function isCompatible() {
const COMPATIBILITY_PATTERN = /(10)(\.\d)(\.\d)*/; // To be change to the SQ 10 LTS
const COMPATIBILITY_PATTERN = /(25)(\.\d)(\.\d)*/;

return getJSON("/api/system/status").then(response => {
return response.version.match(COMPATIBILITY_PATTERN) != null;
Expand Down

0 comments on commit bc27601

Please sign in to comment.