Skip to content

[Fix #1215] Updating Javascript example - #1216

Merged
cdavernas merged 1 commit into
open-workflow-specification:mainfrom
fjtirado:Fix_#1215
Nov 12, 2026
Merged

cdavernas merged 1 commit into
open-workflow-specification:mainfrom
fjtirado:Fix_#1215

Conversation

@fjtirado

Copy link
Copy Markdown
Collaborator

Please specify parts of this PR update:

  • Specification
  • Schema
  • Examples
  • Extensions
  • Use Cases
  • Community
  • CTK
  • Other

Discussion or Issue link:
Fix #1215

What this PR does:
Update the example as indicated in the issue

Signed-off-by: Francisco Javier Tirado Sarti <ftirados@ibm.com>
Copilot AI balanced review requested due to automatic review settings November 10, 2026 12:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the JavaScript stdin example’s switch to readLine().

No open issues 🎉

What changed in this PR

Updates the JavaScript stdin example for issue #1215, replacing Node.js-specific input handling with the requested readLine() approach.

Changes:

  • Removes the node:fs import and readFileSync(process.stdin.fd, 'utf8') call.
  • Uses readLine() directly when logging stdin; argument and environment examples remain unchanged.
File Description
examples/​run-script-with-stdin-and-arguments.yaml Replaces Node.js-specific stdin reading with readLine().

Review effort: Balanced

@fjtirado fjtirado changed the title [Fix #1215] Updating Javscript example [Fix #1215] Updating Javascript example Nov 10, 2026
@ricardozanini ricardozanini mentioned this pull request Nov 12, 2026
6 of 8 tasks
@cdavernas
cdavernas merged commit 6667879 into open-workflow-specification:main Nov 12, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refine Javascript stdin example

4 participants