update formatState.js

This commit is contained in:
Tom
2023-05-08 18:08:50 +02:00
parent cf1e7cc1c1
commit 8f086e7d38
+1 -1
View File
@@ -17,7 +17,7 @@ function formatState(str) {
}
});
if (formattedWords.includes("Failed")) {
if (formattedWords[0] === "Failed" || formattedWords[0] === "Succeeded") {
return formattedWords.join(" ") + ".";
}