mirror of
https://github.com/actions/setup-node.git
synced 2025-09-25 18:13:59 +08:00
Consume different tool-cache
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