Skip to content

Commit

Permalink
bug fix Number (d) not child.stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
lathoub committed Sep 5, 2024
1 parent 9861815 commit 8e88ef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion processen/addNumbers/add.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ then
exit 1
fi

sleep 1
sleep 5

echo $(($1 + $2));
2 changes: 1 addition & 1 deletion processen/addNumbers/launch.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export function launch(process, job, isAsync, parameters, callback) {
result.id = key;

if ((output.schema.type = "number"))
result.value = Number(child.stdout);
result.value = Number(d);

if (parameters.response == "raw") {
content = result;
Expand Down

0 comments on commit 8e88ef3

Please sign in to comment.