Skip to content

Commit 7fba762

Browse files
committed
fix: ensure existence of folders for pipx home
1 parent cc30e9b commit 7fba762

File tree

8 files changed

+13
-9
lines changed

8 files changed

+13
-9
lines changed

cspell.config.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,11 @@ words:
2626
- copr
2727
- CPATH
2828
- Cppcheck
29-
- nodistro
30-
- dearmor
3129
- CPPFLAGS
3230
- cpprc
33-
- untildified
3431
- Cpython
3532
- DCMAKE
33+
- dearmor
3634
- deps
3735
- devel
3836
- DVCPKG
@@ -64,6 +62,7 @@ words:
6462
- mxschmitt
6563
- nala
6664
- noconfirm
65+
- nodistro
6766
- noprogressbar
6867
- nothrow
6968
- npmrc
@@ -85,13 +84,15 @@ words:
8584
- Trofimovich
8685
- tsbuildinfo
8786
- ucrt
87+
- untildified
8888
- untildify
8989
- upleveled
9090
- vbatts
9191
- vcpkg
9292
- VCPKG
9393
- vcvarsall
9494
- venv
95+
- venvs
9596
- visualc
9697
- visualcpp
9798
- vsversion

dist/actions/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/actions/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/utils/setup/setupPipPack.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ export async function setupPipPackWithPython(
6363
if (isPipx && user) {
6464
const pipxHome = await getPipxHome()
6565
await mkdirp(pipxHome)
66+
await mkdirp(join(pipxHome, "trash"))
67+
await mkdirp(join(pipxHome, "shared"))
68+
await mkdirp(join(pipxHome, "venv"))
6669

6770
// install to user home
6871
env.PIPX_HOME = pipxHome

0 commit comments

Comments
 (0)