revert changes for testing (#22544)

This commit is contained in:
Alan Ren
2023-03-30 08:37:40 -07:00
committed by GitHub
parent ff603fa911
commit ee2e59243a

View File

@@ -53,7 +53,7 @@ export function registerTableDesignerCommands(appContext: AppContext) {
const schema = context.nodeInfo!.metadata!.schema;
const name = context.nodeInfo!.metadata!.name;
const connectionString = await azdata.connection.getConnectionString(context.connectionProfile!.id, true);
if (connectionString) {
if (!connectionString) {
throw new Error(FailedToGetConnectionStringError);
}
const tableIcon = context.nodeInfo!.nodeSubType as azdata.designers.TableIcon;