wishthis/node_modules/is-path-cwd/index.js
2022-01-21 09:28:41 +01:00

6 lines
139 B
JavaScript

'use strict';
var path = require('path');
module.exports = function (str) {
return path.resolve(str) === path.resolve(process.cwd());
};