Commit 57cab05

Anton Golub <antongolub@antongolub.com>
2025-06-19 21:48:33
docs: fix some usage examples (#1236)
1 parent b8fa07b
Changed files (2)
docs/.vitepress/config.mts
@@ -69,7 +69,7 @@ export default defineConfig({
             { text: 'Process Output', link: '/process-output' },
             { text: 'Contribution Guide', link: '/contribution' },
             { text: 'Migration from v7', link: '/migration-from-v7' },
-            { text: '⚡ zx@lite ', link: '/lite' },
+            { text: '⚡ zx@lite', link: '/lite' },
           ],
         },
         {
docs/process-promise.md
@@ -162,8 +162,8 @@ This mechanism allows you to easily split streams to multiple consumers:
 ```js
 const p = $`some-command`
 const [o1, o2] = await Process.all([
-  await p.pipe`log`,
-  await p.pipe`extract`
+  p.pipe`log`,
+  p.pipe`extract`
 ])
 ```