mirror of
https://github.com/tiny-craft/tiny-rdm.git
synced 2025-04-21 20:58:05 +08:00
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)) {
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user