fix: null decoder args (#266)

This commit is contained in:
Lykin 2024-05-24 16:36:18 +08:00
parent b4405eb7db
commit 4ed93902a6
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ export const joinCommand = (path, args = [], emptyContent = '-') => {
if (!isEmpty(path)) {
let containValuePlaceholder = false
cmd = includes(path, ' ') ? `"${path}"` : path
for (let part of args) {
for (let part of args || []) {
part = trim(part)
if (isEmpty(part)) {
continue