Skip to content

Commit

Permalink
Shorten string used during detection errors
Browse files Browse the repository at this point in the history
  • Loading branch information
queengooborg committed Jul 22, 2023
1 parent 4e59fb4 commit 24e1df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-document-locale.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const printTable = (data, md = true) => {
str += `${v[l] || "0"},`;
}
} else {
str += `${"DETECTION ERROR!,".repeat(detectedLanguages.length)}`;
str += `${"ERR,".repeat(detectedLanguages.length)}`;
}

// Strip last comma
Expand Down

0 comments on commit 24e1df8

Please sign in to comment.