1
0

Bugfix for expand_shorthand (#79)

This commit is contained in:
Luke Kershaw 2023-01-23 08:32:22 +00:00 committed by GitHub
parent 68df6aee0a
commit 3746900490
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -140,7 +140,7 @@ const expand_shorthand = (config, units) => {
if (a.type(config.expand)(units) == 'string') { if (a.type(config.expand)(units) == 'string') {
const prefix = config.expand.slice(0, -1) const prefix = config.expand.slice(0, -1)
const suffix = config.expand.slice(-1) const suffix = config.expand.slice(-1)
let expand = suffix let expand = prefix
let joints = 0 let joints = 0
if (suffix == ')') ; // noop if (suffix == ')') ; // noop