From 71f8ab2d37167c80f433c8596c995fee9cb08863 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Thu, 18 Feb 2021 13:53:29 +0800 Subject: [PATCH] Fix 'ReferenceError: indent is not defined' --- lib/svgo/coa.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svgo/coa.js b/lib/svgo/coa.js index 3e412e280..63fcb74f7 100644 --- a/lib/svgo/coa.js +++ b/lib/svgo/coa.js @@ -137,7 +137,7 @@ async function action(args, opts) { config.js2svg = config.js2svg || {}; config.js2svg.pretty = true; if (opts.indent != null) { - config.js2svg.indent = indent; + config.js2svg.indent = opts.indent; } }