Skip to content

Commit b448cc9

Browse files
committed
fix: null values while parsing action inputs
1 parent 0e560aa commit b448cc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/action-parser/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ function parseActionVlm(
9898
if (paramName.includes('start_box') || paramName.includes('end_box')) {
9999
const oriBox = trimmedParam;
100100
// Remove parentheses and split
101-
const numbers = oriBox.replace(/[()]/g, '').split(',');
101+
const numbers = oriBox.replace(/[()[\]]/g, '').split(',');
102102

103103
// Convert to float and scale
104104
const floatNumbers = numbers.map(

0 commit comments

Comments
 (0)