From 5eca23247a0fb7b4dc4434eb60bc1e8ea07f7819 Mon Sep 17 00:00:00 2001 From: alexweininger Date: Sat, 29 May 2021 10:16:37 -0500 Subject: [PATCH] fix linting --- src/commands/functions/createTag.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/functions/createTag.ts b/src/commands/functions/createTag.ts index 5b28d45..e00c829 100644 --- a/src/commands/functions/createTag.ts +++ b/src/commands/functions/createTag.ts @@ -7,7 +7,7 @@ import { TagsTreeItem } from "../../tree/functions/tags/TagsTreeItem"; import { selectWorkspaceFolder } from "../../utils/workspace"; export async function createTag(item: TagsTreeItem | Uri): Promise { if (item instanceof Uri) { - window.withProgress({ location: ProgressLocation.Notification, title: "Creating tag..." }, async (progress, token) => { + window.withProgress({ location: ProgressLocation.Notification, title: "Creating tag..." }, async (_progress, _token) => { await createTagFromUri(item); }); return; @@ -16,7 +16,7 @@ export async function createTag(item: TagsTreeItem | Uri): Promise { if (item instanceof TagsTreeItem) { const folder = await selectWorkspaceFolder("Select folder of your function code."); console.log(folder); - window.withProgress({ location: ProgressLocation.Notification, title: "Creating tag..." }, async (progress, token) => { + window.withProgress({ location: ProgressLocation.Notification, title: "Creating tag..." }, async (_progress, _token) => { await createTagFromUri(Uri.parse(folder)); }); }