1
0
mirror of https://github.com/actions/setup-node.git synced 2025-12-17 14:28:57 +08:00
Files
setup-node/node_modules/shelljs/src/pwd.js
Chris Patterson 9bb7038a07 Initial Import
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;