aboutsummaryrefslogtreecommitdiff
path: root/cordova/node_modules/shelljs/src/pwd.js
blob: 41727bb918b78c9928a155d58fba7fc68eb9a308 (plain)
1
2
3
4
5
6
7
8
9
10
11
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;