Reword error message

This commit is contained in:
Michael B. Gale
2026-02-17 14:49:34 +00:00
parent 5c96b6e3db
commit 6d55dfff02
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ for (let i = 0; i < analysisKinds.length; i++) {
.returns([analysisKind, otherAnalysis].join(","));
await t.throwsAsync(getAnalysisKinds(getRunnerLogger(true), true), {
instanceOf: ConfigurationError,
message: `${otherAnalysis} cannot be enabled at the same time as ${analysisKind}`,
message: `${analysisKind} and ${otherAnalysis} cannot be enabled at the same time`,
});
});
}
+1 -1
View File
@@ -114,7 +114,7 @@ export async function getAnalysisKinds(
if (!compatibilityMatrix[analysisKind].has(otherAnalysisKind)) {
throw new ConfigurationError(
`${otherAnalysisKind} cannot be enabled at the same time as ${analysisKind}`,
`${analysisKind} and ${otherAnalysisKind} cannot be enabled at the same time`,
);
}
}