Merge pull request #161 from bartvdbraak/feat/minor-changes

Minor changes for README
This commit is contained in:
Bart van der Braak 2023-11-19 01:19:20 +01:00 committed by GitHub
commit e134d1cf00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -97,7 +97,7 @@ jobs:
const formatScore = score => `${Math.round(score * 100)} (${score})`;
const getEmoji = score => score >= 0.9 ? '🟢' : score >= 0.5 ? '🟠' : '🔴';
const getColor = score => score >= 0.9 ? 'green' : score >= 0.5 ? 'orange' : 'red';
const getColor = score => score >= 0.9 ? '4c1' : score >= 0.5 ? 'ffa400' : 'eb0f00';
const score = res => `${getEmoji(res)} ${formatScore(res)}`;