Skip to content

Commit

Permalink
fix(symlinks): Allow detecting symlinks. Yarn roadblocks have been re…
Browse files Browse the repository at this point in the history
…solved.
  • Loading branch information
Kevin Schmidt committed Jan 11, 2018
1 parent 255b699 commit 909aade
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions core.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,7 @@ const resolvePlugins = function(rootProjectPath, alreadyResolved, pack, projectD
var pluginPack;

try {
var pluginPath = path.resolve(p, file);
if (fs.lstatSync(pluginPath).isSymbolicLink()) {
return false;
}

pluginPackPath = path.resolve(pluginPath, 'package.json');
pluginPackPath = path.resolve(p, file, 'package.json');
pluginPack = require(pluginPackPath);
// see if the plugin provides a flag to override the app version
var overrideVersion = pluginPack.overrideVersion;
Expand Down

0 comments on commit 909aade

Please sign in to comment.