mirror of
https://gitea.com/actions/setup-node.git
synced 2025-11-14 03:46:21 +08:00
Initial Import
This commit is contained in:
10
node_modules/shelljs/src/error.js
generated
vendored
Normal file
10
node_modules/shelljs/src/error.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user