mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
Add no-floating-promises for mssql extension (#16956)
This commit is contained in:
@@ -69,5 +69,5 @@ export function registerBooksWidget(bookContributionProvider: BookContributionPr
|
||||
}
|
||||
|
||||
function openBookViewlet(folderUri: vscode.Uri): void {
|
||||
vscode.commands.executeCommand('bookTreeView.openBook', folderUri.fsPath, true, undefined);
|
||||
void vscode.commands.executeCommand('bookTreeView.openBook', folderUri.fsPath, true, undefined);
|
||||
}
|
||||
|
||||
@@ -95,7 +95,7 @@ export function registerServiceEndpoints(context: vscode.ExtensionContext): void
|
||||
const copyValueCell = view.modelBuilder.button().component();
|
||||
copyValueCell.iconPath = { light: context.asAbsolutePath('resources/light/copy.png'), dark: context.asAbsolutePath('resources/dark/copy_inverse.png') };
|
||||
copyValueCell.onDidClick(() => {
|
||||
vscode.env.clipboard.writeText(endpointInfo.endpoint);
|
||||
void vscode.env.clipboard.writeText(endpointInfo.endpoint);
|
||||
});
|
||||
copyValueCell.title = localize("copyText", "Copy");
|
||||
copyValueCell.iconHeight = '14px';
|
||||
|
||||
Reference in New Issue
Block a user