index.js 139 Bytes Raw Blame History Permalink 1 2 3 4 5 6 'use strict'; var path = require('path'); module.exports = function (str) { return path.resolve(str) === path.resolve(process.cwd()); };