Accidentally fix issue with values being detected as needing rewrite when they didn't
This commit is contained in:
parent
3b6b4bc666
commit
2ed04034a4
1 changed files with 1 additions and 1 deletions
2
index.ts
2
index.ts
|
@ -51,7 +51,7 @@ function statusOutput(message: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function isPrecision(value: number, precision: number) {
|
function isPrecision(value: number, precision: number) {
|
||||||
return parseFloat(value.toFixed(precision)) === value;
|
return value.toFixed(precision) === value.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
function writeTemplate(
|
function writeTemplate(
|
||||||
|
|
Reference in a new issue