Skip to content

Commit 1555333

Browse files
committed
Fix to avoid loading svgo.yml
1 parent cffe1ba commit 1555333

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

action/dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/metrics.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
console.debug(`metrics/metrics/${login} > templated`)
8686

8787
//Optimize rendering
88-
const svgo = new SVGO({plugins:[{cleanupAttrs:true}, {inlineStyles:false}]})
88+
const svgo = new SVGO({full:true, plugins:[{cleanupAttrs:true}, {inlineStyles:false}]})
8989
const {data:optimized} = await svgo.optimize(templated)
9090
console.debug(`metrics/metrics/${login} > optimized`)
9191

0 commit comments

Comments
 (0)