Use correct variable name

This commit is contained in:
Robert
2023-03-23 14:25:15 +00:00
parent c84c69f529
commit 180b84b3da

View File

@@ -8,7 +8,7 @@ import { redactableError } from "../pure/errors";
import { asError, getErrorMessage, getErrorStack } from "../pure/helpers-pure";
export async function tryOpenExternalFile(
CommandManager: AppCommandManager,
commandManager: AppCommandManager,
fileLocation: string,
) {
const uri = Uri.file(fileLocation);
@@ -29,7 +29,7 @@ the file in the file explorer and dragging it into the workspace.`,
);
if (res) {
try {
await CommandManager.execute("revealFileInOS", uri);
await commandManager.execute("revealFileInOS", uri);
} catch (e) {
void showAndLogExceptionWithTelemetry(
redactableError(