From 7a3df06eb573d36142bd1a8e03c5ce8752d300b3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Wed, 24 May 2017 15:10:37 +0200 Subject: fix build issues and add typedoc --- node_modules/shelljs/src/pwd.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 node_modules/shelljs/src/pwd.js (limited to 'node_modules/shelljs/src/pwd.js') diff --git a/node_modules/shelljs/src/pwd.js b/node_modules/shelljs/src/pwd.js new file mode 100644 index 000000000..38618518b --- /dev/null +++ b/node_modules/shelljs/src/pwd.js @@ -0,0 +1,15 @@ +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; -- cgit v1.2.3