chore: fix spelling error in comment (#12038)

This commit is contained in:
Joel Einbinder 2022-02-11 12:51:13 -05:00 committed by GitHub
parent 46b89f109a
commit c6641321a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -257,7 +257,7 @@ export function spawnAsync(cmd: string, args: string[], options: SpawnOptions =
// See https://joel.tools/microtasks/
export function makeWaitForNextTask() {
// As of Mar 2021, Electorn v12 doesn't create new task with `setImmediate` despite
// As of Mar 2021, Electron v12 doesn't create new task with `setImmediate` despite
// using Node 14 internally, so we fallback to `setTimeout(0)` instead.
// @see https://github.com/electron/electron/issues/28261
if ((process.versions as any).electron)