Skip to content

Commit

Permalink
fix: npm link setup
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Oct 23, 2018
1 parent c587b82 commit 8a3044a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/setup-npm-link.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = async (packagePath, dependencyName) => {
const dependencyLinkPath = resolve(packagePath, "node_modules", dependencyName);
if (await isSymbolicLink(dependencyLinkPath)) return;
log.info("link %s in %s", dependencyName, basename(packagePath));
await rm(dependencyLinkPath, { loose: true });
await rm(dependencyLinkPath, { loose: true, recursive: true, force: true });
await runProgram("npm", ["link", dependencyName], {
cwd: packagePath,
logger: log.levelRoot.get("npm:link")
Expand Down

0 comments on commit 8a3044a

Please sign in to comment.