import { setResult , TaskResult } from "azure-pipelines-task-lib" ; const launch = async ( task ) => { try { const resultMessage = await task ( ) ; setResult ( TaskResult . Succeeded , resultMessage ) ; } catch ( e ) { setResult ( TaskResult . Failed , e . message ) ; } } ; export { launch } ;