6 lines
139 B
JavaScript
6 lines
139 B
JavaScript
'use strict';
|
|
var path = require('path');
|
|
|
|
module.exports = function (str) {
|
|
return path.resolve(str) === path.resolve(process.cwd());
|
|
};
|