HEX
Server: Apache/2.4.65 (Debian)
System: Linux kubikelcreative 5.10.0-35-amd64 #1 SMP Debian 5.10.237-1 (2025-05-19) x86_64
User: www-data (33)
PHP: 8.4.13
Disabled: NONE
Upload Files
File: //usr/share/npm/node_modules/bin-links/lib/link-bin.js
const linkGently = require('./link-gently.js')
const fixBin = require('./fix-bin.js')

// linking bins is simple.  just symlink, and if we linked it, fix the bin up
const linkBin = ({path, to, from, absFrom, force}) =>
  linkGently({path, to, from, absFrom, force})
    .then(linked => linked && fixBin(absFrom))

module.exports = linkBin