You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: api.md
+20-1
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,8 @@ trailing newlines from `ProcessOutput` enabling common idioms like:
97
97
cd(await $`mktemp -d`)
98
98
```
99
99
100
+
> ⚠️ `cd` invokes `process.chdir()` internally, so it does affect the global context. To keep `process.cwd()` in sync with separate `$` calls enable [syncProcessCwd()](#syncprocesscwd) hook.
101
+
100
102
## fetch()
101
103
102
104
A wrapper around the [node-fetch-native](https://www.npmjs.com/package/node-fetch-native)
@@ -148,16 +150,20 @@ Creates a new async context.
0 commit comments