Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async function validateDockerIsInstalled() {
if (!(await BuidlerDocker.isInstalled())) {
throw new BuidlerPluginError(
`Docker Desktop is not installed.
Please install it by following the instructions on https://www.docker.com/get-started`
);
}
}