| Current Path : /home3/gp97/tbfmobile.97gp.net/var/apps/ionic/android/cordova/node_modules/shelljs/src/ |
| Current File : //home3/gp97/tbfmobile.97gp.net/var/apps/ionic/android/cordova/node_modules/shelljs/src/error.js |
var common = require('./common');
//@
//@ ### error()
//@ Tests if error occurred in the last command. Returns `null` if no error occurred,
//@ otherwise returns string explaining the error
function error() {
return common.state.error;
};
module.exports = error;