@atomist/automation-client
Version:
Atomist API for software low-level client
13 lines • 423 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const HandlerResult_1 = require("../../HandlerResult");
/**
* Can throw this into the end of a handler chain to return a HandlerResult
* @param whatever
* @return {Promise<HandlerResult>}
*/
function succeed(whatever) {
return Promise.resolve(HandlerResult_1.Success);
}
exports.succeed = succeed;
//# sourceMappingURL=contextUtils.js.map