From 505b621954a5937f40d1887fef60796aafabb57e Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 13:13:56 +0000 Subject: [PATCH] chore: apply automated lint fixes --- src/_parser.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/_parser.ts b/src/_parser.ts index bd2f6e6..2a53a0f 100644 --- a/src/_parser.ts +++ b/src/_parser.ts @@ -29,15 +29,15 @@ function toVal(out, key, val, opts) { ? "" : String(val) : typeof val === "boolean" - ? val - : ~opts.boolean.indexOf(key) - ? val === "false" - ? false - : val === "true" || - (out._.push(((x = +val), x * 0 === 0) ? x : val), !!val) - : ((x = +val), x * 0 === 0) - ? x - : val; + ? val + : ~opts.boolean.indexOf(key) + ? val === "false" + ? false + : val === "true" || + (out._.push(((x = +val), x * 0 === 0) ? x : val), !!val) + : ((x = +val), x * 0 === 0) + ? x + : val; out[key] = old == undefined ? nxt : Array.isArray(old) ? old.concat(nxt) : [old, nxt]; }