fix: null decoder args (#266)
This commit is contained in:
parent
b4405eb7db
commit
4ed93902a6
|
@ -13,7 +13,7 @@ export const joinCommand = (path, args = [], emptyContent = '-') => {
|
||||||
if (!isEmpty(path)) {
|
if (!isEmpty(path)) {
|
||||||
let containValuePlaceholder = false
|
let containValuePlaceholder = false
|
||||||
cmd = includes(path, ' ') ? `"${path}"` : path
|
cmd = includes(path, ' ') ? `"${path}"` : path
|
||||||
for (let part of args) {
|
for (let part of args || []) {
|
||||||
part = trim(part)
|
part = trim(part)
|
||||||
if (isEmpty(part)) {
|
if (isEmpty(part)) {
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue