mirror of
https://github.com/actions/setup-node.git
synced 2026-04-28 08:31:14 +03:00
Initial Import
This commit is contained in:
+10
@@ -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