mirror of
https://github.com/svg/svgo.git
synced 2025-07-29 20:21:14 +03:00
chore: update prettier and eslint (#1885)
This commit is contained in:
@ -75,8 +75,8 @@ exports.fn = (_root, params) => {
|
||||
if (convertToPx && units !== '' && units in absoluteLengths) {
|
||||
const pxNum = Number(
|
||||
(absoluteLengths[units] * Number(match[1])).toFixed(
|
||||
floatPrecision
|
||||
)
|
||||
floatPrecision,
|
||||
),
|
||||
);
|
||||
if (pxNum.toString().length < match[0].length) {
|
||||
num = pxNum;
|
||||
|
Reference in New Issue
Block a user