Skip to content

Commit 202fc42

Browse files
author
DavertMik
committed
fixed serializing step args
1 parent 492d76b commit 202fc42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/step/base.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ class Step {
190190
args.push(arg.name)
191191
} else if (typeof arg == 'string') {
192192
args.push(arg)
193-
} else {
194-
args.push(JSON.stringify(arg).slice(0, 300))
193+
} else if (arg) {
194+
args.push((JSON.stringify(arg) || '').slice(0, 300))
195195
}
196196
}
197197
}

0 commit comments

Comments
 (0)