Skip to content

Commit

Permalink
Fixes link:. (#7512)
Browse files Browse the repository at this point in the history
* Fixes link:.

* Update CHANGELOG.md
  • Loading branch information
arcanis committed Sep 1, 2019
1 parent b8af7e0 commit 53d8004
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions CHANGELOG.md
Expand Up @@ -8,9 +8,9 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa

[#7499](https://github.com/yarnpkg/yarn/pull/7499) - [**xv2**](https://github.com/xv2)

- Update fixture certificates to prevent false negatives during testing
- Fixes using `link:.` to refer to the package folder

[#7457](https://github.com/yarnpkg/yarn/pull/7457) - [**Thomas Jouannic**](https://github.com/eilgin)
[#7512](https://github.com/yarnpkg/yarn/pull/7512) - [**Maël Nison**](https://twitter.com/arcanis)

- Runs the `prepare` lifecycle of git dependencies even if `NODE_ENV` is set to `production`.

Expand All @@ -19,7 +19,7 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa
- Fixes the `postversion` lifecycle method not being called when using `--no-git-tag-version`.

[#7154](https://github.com/yarnpkg/yarn/pull/7154) - [**Hampus Tågerud**](https://github.com/hampustagerud)

- Ignores potentially large vscode keys in package.json to avoid E2BIG errors.

[#7419](https://github.com/yarnpkg/yarn/pull/7419) - [**Eric Amodio**](https://twitter.com/eamodio)
Expand Down Expand Up @@ -71,7 +71,7 @@ Please add one entry in this file for each change in Yarn's behavior. Use the sa
- Exposes the script environment variables to `yarn create` spawned processes.

[#7127](https://github.com/yarnpkg/yarn/pull/7127) - [**Eli Perelman**](https://github.com/eliperelman)

- Prevents EPIPE errors from being printed.

[#7194](https://github.com/yarnpkg/yarn/pull/7194) - [**Abhishek Reddy**](https://github.com/arbscht)
Expand Down
2 changes: 1 addition & 1 deletion src/resolvers/exotics/link-resolver.js
Expand Up @@ -30,7 +30,7 @@ export default class LinkResolver extends ExoticResolver {
const name = path.basename(loc);
const registry: RegistryNames = 'npm';

const manifest: Manifest = !await fs.exists(`${loc}/package.json`)
const manifest: Manifest = !await fs.exists(`${loc}/package.json`) || loc === this.config.lockfileFolder
? {_uid: '', name, version: '0.0.0', _registry: registry}
: await this.config.readManifest(loc, this.registry);

Expand Down

0 comments on commit 53d8004

Please sign in to comment.