From 909aade1ede0b08e5d5d7ef2b22e59be5398b763 Mon Sep 17 00:00:00 2001 From: Kevin Schmidt Date: Thu, 11 Jan 2018 06:09:46 -0700 Subject: [PATCH] fix(symlinks): Allow detecting symlinks. Yarn roadblocks have been resolved. --- core.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/core.js b/core.js index aeec652..35e103c 100644 --- a/core.js +++ b/core.js @@ -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;