export function isTerminalSetToCloudShell()

in src/utils/settingUtils.ts [9:18]


export function isTerminalSetToCloudShell(): boolean {
    if (vscode.workspace.getConfiguration().get("azureTerraform.terminal") === "cloudshell") {
        vscode.window.showInformationMessage(
            "Cloud Shell is no longer supported by Azure Terraform extension due to deprecation of Azure Account extension. Defaulting to integrated terminal.",
        );
        vscode.workspace.getConfiguration().update("azureTerraform.terminal", "integrated", ConfigurationTarget.Global);
    }

    return false;
}