import { DeploymentTreeItem } from "vscode-azureappservice" ; import { IActionContext } from "vscode-azureextensionui" ; import { ext } from "../../extensionVariables" ; export async function redeployDeployment ( context , node ? ) { if ( ! node ) { node = await ext . tree . showTreeItemPicker < DeploymentTreeItem > ( DeploymentTreeItem . contextValue , context ) ; } await node . redeployDeployment ( context ) ; }