added fix to get input variables from prompt

This commit is contained in:
Henry 2023-06-09 14:35:14 +01:00
parent ff93d11913
commit 4da845745c
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ export const getInputVariables = (paramValue: string): string[] => {
const variableStack = []
const inputVariables = []
let startIdx = 0
const endIdx = returnVal.length - 1
const endIdx = returnVal.length
while (startIdx < endIdx) {
const substr = returnVal.substring(startIdx, startIdx + 1)