Commit dfd28a7
committed
[Refactor] Simplify mkTmpDir in cli-kit
Refactor `mkTmpDir` in `packages/cli-kit/src/public/node/fs.ts` to use `systemTempDir` and `join` for consistency with other temporary directory functions like `tempDirectory` and `inTemporaryDirectory`. Simplified the implementation by returning the `fsMkdtemp` promise directly and removing an unnecessary intermediate variable.1 parent 1dfb266 commit dfd28a7
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments