fix: don't crash when APPDATA is undefined on Windows (#6672)

close #6659
This commit is contained in:
Zoltan Kochan
2023-06-14 08:30:35 +03:00
committed by GitHub
parent 0b830f947a
commit e2d631217a
3 changed files with 11 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
---
"@pnpm/config": patch
"pnpm": patch
---
Don't crash when the APPDATA env variable is not set on Windows [#6659](https://github.com/pnpm/pnpm/issues/6659).

View File

@@ -37,7 +37,7 @@
"@pnpm/error": "workspace:*",
"@pnpm/git-utils": "workspace:*",
"@pnpm/matcher": "workspace:*",
"@pnpm/npm-conf": "2.2.0",
"@pnpm/npm-conf": "2.2.2",
"@pnpm/pnpmfile": "workspace:*",
"@pnpm/read-project-manifest": "workspace:*",
"@pnpm/types": "workspace:*",

9
pnpm-lock.yaml generated
View File

@@ -558,8 +558,8 @@ importers:
specifier: workspace:*
version: link:../matcher
'@pnpm/npm-conf':
specifier: 2.2.0
version: 2.2.0
specifier: 2.2.2
version: 2.2.2
'@pnpm/pnpmfile':
specifier: workspace:*
version: link:../../hooks/pnpmfile
@@ -8310,8 +8310,8 @@ packages:
config-chain: 1.1.13
dev: true
/@pnpm/npm-conf@2.2.0:
resolution: {integrity: sha512-roLI1ul/GwzwcfcVpZYPdrgW2W/drLriObl1h+yLF5syc8/5ULWw2ALbCHUWF+4YltIqA3xFSbG4IwyJz37e9g==}
/@pnpm/npm-conf@2.2.2:
resolution: {integrity: sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA==}
engines: {node: '>=12'}
dependencies:
'@pnpm/config.env-replace': 1.1.0
@@ -17885,7 +17885,6 @@ time:
/@pnpm/network.agent@0.1.0: '2023-02-18T01:03:06.709Z'
/@pnpm/node-fetch@1.0.0: '2023-04-19T11:13:43.487Z'
/@pnpm/nopt@0.2.1: '2021-06-01T19:45:54.552Z'
/@pnpm/npm-conf@2.2.0: '2023-05-02T09:52:48.941Z'
/@pnpm/npm-lifecycle@2.0.1: '2023-04-01T22:20:38.506Z'
/@pnpm/npm-package-arg@1.0.0: '2022-06-28T12:48:31.287Z'
/@pnpm/os.env.path-extender@0.2.10: '2023-02-28T01:46:02.862Z'