Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
vogelsgesang committed Aug 13, 2024
1 parent 94b614d commit f4b84a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 2 additions & 1 deletion src/extension/bazel_wrapper_commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
queryQuickPickPackage,
queryQuickPickTargets,
} from "../bazel";
import { getDefaultBazelExecutablePath } from "./configuration";

/**
* Builds a Bazel target and streams output to the terminal.
Expand Down Expand Up @@ -322,4 +323,4 @@ export function activateWrapperCommands(): vscode.Disposable[] {
),
vscode.commands.registerCommand("bazel.clean", bazelClean),
];
}
}
5 changes: 2 additions & 3 deletions src/extension/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
ServerOptions,
} from "vscode-languageclient/node";

import { activateTaskProvider } from "../bazel";
import { activateTaskProvider, IBazelCommandAdapter } from "../bazel";
import {
BuildifierDiagnosticsManager,
BuildifierFormatProvider,
Expand Down Expand Up @@ -161,7 +161,6 @@ function createLsp(config: vscode.WorkspaceConfiguration) {
return new LanguageClient("Bazel LSP Client", serverOptions, clientOptions);
}


/**
* Copies a target to the clipboard.
*/
Expand All @@ -176,4 +175,4 @@ function bazelCopyTargetToClipboard(adapter: IBazelCommandAdapter | undefined) {
const target = adapter.getBazelCommandOptions().targets[0];
// eslint-disable-next-line @typescript-eslint/no-floating-promises
vscode.env.clipboard.writeText(target);
}
}

0 comments on commit f4b84a7

Please sign in to comment.