Skip to content

Commit

Permalink
fix: sonarqube issues
Browse files Browse the repository at this point in the history
  • Loading branch information
rainerhahnekamp committed Sep 12, 2024
1 parent 4b834fe commit 8a7c3bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/lib/api/get-project-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ export function getProjectData(
};

if (options.includeExternalLibraries) {
entry.externalLibraries = [...fileInfo.getExternalLibraries()].sort();
entry.externalLibraries = [...fileInfo.getExternalLibraries()].sort(
(a, b) => a.localeCompare(b),
);
}

data[fileInfo.path] = entry;
Expand Down

0 comments on commit 8a7c3bb

Please sign in to comment.