@sliit-foss/actions-exec-wrapper
Version:
A wrapper around the @actions/exec module which promisifies the console output of a command
3 lines (2 loc) • 717 B
JavaScript
var r=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var p=(e,t)=>r(e,"name",{value:t,configurable:!0});var g=(e,t)=>{for(var o in t)r(e,o,{get:t[o],enumerable:!0})},m=(e,t,o,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of x(t))!a.call(e,u)&&u!==o&&r(e,u,{get:()=>t[u],enumerable:!(n=i(t,u))||n.enumerable});return e};var E=e=>m(r({},"__esModule",{value:!0}),e);var d={};g(d,{default:()=>O,execute:()=>c});module.exports=E(d);var s=require("@actions/exec");const c=p(async(e,t=[],o)=>(await(0,s.getExecOutput)(e,t,o)).stdout.trim(),"execute");var O=c;0&&(module.exports={execute});
//# sourceMappingURL=index.js.map