Skip to content

Commit

Permalink
Stop ~/.yarnrc registering a pkgenv
Browse files Browse the repository at this point in the history
  • Loading branch information
mxcl committed Jul 11, 2023
1 parent c88808a commit 06e816c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</p>


# tea/cli 0.38.2
# tea/cli 0.38.3

`tea` puts the whole open source ecosystem at your fingertips:

Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useVirtualEnv.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export default async function(cwd: Path): Promise<VirtualEnv> {
srcroot = f!.parent()
}
}
if (_if(".yarnrc") && dir.neq(Path.home())) {
if (dir.neq(Path.home()) && _if(".yarnrc")) {
pkgs.push({ project: "classic.yarnpkg.com", constraint })
}
if (_if(".yarnrc.yml")) {
Expand Down

0 comments on commit 06e816c

Please sign in to comment.