Skip to content
Myr

Fix indentation

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

authored by Sindre Sorhus · committed by GitHub · parent 9e6e19e · Browse files · 1 file+18 added−18 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+18 added−18 removed

  • other:+18 added−18 removed

1 file+18 added−18 removed

modified:docs/scripts.md+18 added-18 removed
17 unmodified lines
18const branch = await $`git branch --show-current`;19await $`dep deploy --branch=${branch}`;2021await Promise.all([22 $`sleep 1`,23 $`sleep 2`,24 $`sleep 3`,22 $`sleep 1`,23 $`sleep 2`,24 $`sleep 3`,25]);2627const dirName = 'foo bar';28await $`mkdir /tmp/${dirName}`;
71 unmodified lines
100101```sh102# Bash103npm run build \104 --example-flag-one \105 --example-flag-two104 --example-flag-one \105 --example-flag-two106```107108```js109// zx
433 unmodified lines
543544```js545// Execa546const {547 stdout,548 stderr,549 exitCode,550 signal,551 signalDescription,552 originalMessage,553 shortMessage,554 command,555 escapedCommand,556 failed,557 timedOut,558 isCanceled,559 isTerminated,547 stdout,548 stderr,549 exitCode,550 signal,551 signalDescription,552 originalMessage,553 shortMessage,554 command,555 escapedCommand,556 failed,557 timedOut,558 isCanceled,559 isTerminated,560 isMaxBuffer,561 // and other error-related properties: code, etc.562} = await $({timeout: 1})`sleep 2`;563// ExecaError: Command timed out after 1 milliseconds: sleep 2
285 unmodified lines