Skip to content

Commit 7e049d5

Browse files
committed
stdin/stdout/stderr object -> Stream
1 parent 05fdf06 commit 7e049d5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

examples/post-start-secret-delivery/post-start-hook.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ const fs = require('fs').promises;
55
* This is a post-start hook that will be called after an app started.
66
* @param {object} info
77
* @param {string} info.pid The apps PID
8-
* @param {object} info.stdin The apps STDIN stream
9-
* @param {object} info.stdout The apps STDOUT stream
10-
* @param {object} info.stderr The apps STDERR stream
8+
* @param {Stream} info.stdin The apps STDIN stream
9+
* @param {Stream} info.stdout The apps STDOUT stream
10+
* @param {Stream} info.stderr The apps STDERR stream
1111
* @param {object} pm2_env The apps environment variables
1212
* @returns {Promise<void>}
1313
*/

test/fixtures/post_start_hook/post_start_hook_normal.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
* This is a post-start hook that will be called after an app started.
55
* @param {object} info
66
* @param {string} info.pid The apps PID
7-
* @param {object} info.stdin The apps STDIN stream
8-
* @param {object} info.stdout The apps STDOUT stream
9-
* @param {object} info.stderr The apps STDERR stream
7+
* @param {Stream} info.stdin The apps STDIN stream
8+
* @param {Stream} info.stdout The apps STDOUT stream
9+
* @param {Stream} info.stderr The apps STDERR stream
1010
* @param {object} pm2_env The apps environment variables
1111
* @returns {void}
1212
*/

0 commit comments

Comments
 (0)