Skip to content

Commit

Permalink
fix: comparsion for lower than 0.01
Browse files Browse the repository at this point in the history
  • Loading branch information
simllll committed Feb 21, 2023
1 parent 0c0ae7d commit f974760
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/comment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { percentage } from "./lcov.js";
import { LvocList } from "./app.js";

const renderEmoji = (pdiff: number) => {
if (pdiff < 0.01) return ":x:";
if (pdiff < -0.01) return ":x:";

if (pdiff > 0.01) return ":heavy_check_mark:";

Expand Down

0 comments on commit f974760

Please sign in to comment.