We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a31fe55 commit c468672Copy full SHA for c468672
docs/transform.md
@@ -18,8 +18,8 @@ const transform = function * (line) {
18
yield `${prefix}: ${line}`;
19
};
20
21
-const {stdout} = await execa({stdout: transform})`npm run build`;
22
-console.log(stdout); // HELLO
+const {stdout} = await execa({stdout: transform})`echo HELLO`;
+console.log(stdout); // INFO: HELLO
23
```
24
25
## Difference with iteration
0 commit comments