1const isWindows = require('./is-windows.js') 2const getPrefix = require('./get-prefix.js') 3const { dirname } = require('path') 4 5module.exports = ({ top, path }) => !top || isWindows ? null 6 : dirname(getPrefix(path)) + '/share/man' 7