Skip to content

Commit

Permalink
fix: null decoder args (tiny-craft#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiny-craft committed May 24, 2024
1 parent b4405eb commit 4ed9390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/utils/decoder_cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ed9390

Please sign in to comment.