export async function runLintInDocker()

in src/utils/dockerUtils.ts [22:34]


export async function runLintInDocker(volumn: string, containerName: string): Promise<boolean> {
    try {
        if (!await pullLatestImage(containerName)) {
            return false;
        }
        const cmd: string = `docker run -v ${volumn} --rm ${containerName} rake -f ../Rakefile build`;
        terraformShellManager.getIntegratedShell().runTerraformCmd(cmd);
        return true;
    } catch (error) {
        promptForOpenOutputChannel("Failed to run lint task in Docker. Please open the output channel for more details.", DialogType.error);
        return false;
    }
}