import { TerraformCommandHandlerAWS } from './../../../src/aws-terraform-command-handler' ; import tl = require ( 'azure-pipelines-task-lib' ) ; let terraformCommandHandlerAWS = new TerraformCommandHandlerAWS ( ) ; export async function run ( ) { try { await terraformCommandHandlerAWS . validate ( ) ; } catch ( error ) { tl . setResult ( tl . TaskResult . Failed , 'AWSValidateFailInvalidWorkingDirectoryL0 should have succeeded but failed with error.' ) ; } } run ( ) ;