Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then( activateContext.bind( null, context ) )
.catch( () => {} )
);
}
if ( environment === 'all' || environment === 'tests' ) {
tasks.push(
resetDatabase( true )
.then( setupSite.bind( null, true ) )
.then( activateContext.bind( null, context, true ) )
.catch( () => {} )
);
}
await Promise.all( tasks );
// Remove dangling containers and finish.
await dockerCompose.rm( dockerComposeOptions );
spinner.text = `Cleaned ${ description }.`;
},
};