Skip to content
Myr

Fix typo in IPC documentation (#1121)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by ehmicky · committed by GitHub · parent 4044152 · Browse files · 1 file+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−2 removed

  • other:+2 added−2 removed

1 file+2 added−2 removed

modified:docs/ipc.md+2 added-2 removed
204 unmodified lines
205```js206import {getEachMessage} from 'execa';207208// {type: 'gracefulExit'} is sometimes received, but not always209for await (const message of getEachMessage()) {209for await (const message of getEachMessage({reference: false})) {210 if (message.type === 'gracefulExit') {211 gracefulExit({reference: false});211 gracefulExit();212 }213}214```215
11 unmodified lines