setup-node/node_modules/shelljs/src/pwd.js
2019-08-03 21:49:54 -04:00

12 lines
241 B
JavaScript

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;