Files
add-and-commit/node_modules/shelljs/src/pwd.js
Federico Grandi 9a6336d889 Commit dist files
2020-02-21 16:50:00 +01:00

17 lines
278 B
JavaScript

var path = require('path');
var common = require('./common');
common.register('pwd', _pwd, {
allowGlobbing: false,
});
//@
//@ ### pwd()
//@
//@ Returns the current directory.
function _pwd() {
var pwd = path.resolve(process.cwd());
return pwd;
}
module.exports = _pwd;