mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2026-03-24 08:28:04 +03:00
10 lines
266 B
JavaScript
10 lines
266 B
JavaScript
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;
|