setup-node/node_modules/shelljs/src/pwd.js

12 lines
241 B
JavaScript
Raw Normal View History

2019-08-04 01:49:54 +00:00
var path = require('path');
var common = require('./common');
//@
//@ ### pwd()
//@ Returns the current directory.
function _pwd(options) {
var pwd = path.resolve(process.cwd());
return common.ShellString(pwd);
}
module.exports = _pwd;