index.js 139 B

123456
  1. 'use strict';
  2. var path = require('path');
  3. module.exports = function (str) {
  4. return path.resolve(str) === path.resolve(process.cwd());
  5. };