Skip to content

Commit

Permalink
1.19.0-0
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis committed Sep 23, 2019
1 parent c08d0e3 commit a14fc43
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "yarn",
"installationMethod": "unknown",
"version": "1.18.0",
"version": "1.19.0-0",
"license": "BSD-2-Clause",
"preferGlobal": true,
"description": "📦🐈 Fast, reliable, and secure dependency management.",
Expand Down
5 changes: 5 additions & 0 deletions src/lockfile/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ export default class Lockfile {
reporter.info(reporter.lang('noLockfileFound'));
}

if (lockfile.__metadata) {
const lockfilev2 = lockfile;
lockfile = {};
}

return new Lockfile({cache: lockfile, source: rawLockfile, parseResultType: parseResult && parseResult.type});
}

Expand Down

0 comments on commit a14fc43

Please sign in to comment.