Skip to content

Commit 081ac11

Browse files
committed
ci: lints code
1 parent e3879ba commit 081ac11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ function strip_right(text, right) {
269269
}
270270

271271
function precision_round(number, decimals) {
272-
if (decimals == 0) return "" + Math.round(number);
272+
if (decimals === 0) return "" + Math.round(number);
273273

274274
let p1 = Math.pow(10, decimals + 1);
275275
let p2 = Math.pow(10, decimals);

0 commit comments

Comments
 (0)