summaryrefslogtreecommitdiff
path: root/node_modules/svgo/plugins/cleanupListOfValues.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/svgo/plugins/cleanupListOfValues.js')
-rw-r--r--node_modules/svgo/plugins/cleanupListOfValues.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/node_modules/svgo/plugins/cleanupListOfValues.js b/node_modules/svgo/plugins/cleanupListOfValues.js
index 7150449e..618fd062 100644
--- a/node_modules/svgo/plugins/cleanupListOfValues.js
+++ b/node_modules/svgo/plugins/cleanupListOfValues.js
@@ -68,7 +68,7 @@ exports.fn = (_root, params) => {
// convert absolute values to pixels
if (convertToPx && units && units in absoluteLengths) {
const pxNum = Number(
- (absoluteLengths[units] * Number(match[1])).toFixed(floatPrecision)
+ (absoluteLengths[units] * Number(match[1])).toFixed(floatPrecision),
);
if (pxNum.toString().length < match[0].length) {
@@ -112,7 +112,7 @@ exports.fn = (_root, params) => {
if (node.attributes['enable-background'] != null) {
node.attributes['enable-background'] = roundValues(
- node.attributes['enable-background']
+ node.attributes['enable-background'],
);
}
@@ -122,7 +122,7 @@ exports.fn = (_root, params) => {
if (node.attributes['stroke-dasharray'] != null) {
node.attributes['stroke-dasharray'] = roundValues(
- node.attributes['stroke-dasharray']
+ node.attributes['stroke-dasharray'],
);
}