1const linkGently = require('./link-gently.js') 2const fixBin = require('./fix-bin.js') 3 4// linking bins is simple. just symlink, and if we linked it, fix the bin up 5const linkBin = ({ path, to, from, absFrom, force }) => 6 linkGently({ path, to, from, absFrom, force }) 7 .then(linked => linked && fixBin(absFrom)) 8 9module.exports = linkBin 10