fix linting
This commit is contained in:
parent
4231a0552b
commit
5eca23247a
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ import { TagsTreeItem } from "../../tree/functions/tags/TagsTreeItem";
|
||||||
import { selectWorkspaceFolder } from "../../utils/workspace";
|
import { selectWorkspaceFolder } from "../../utils/workspace";
|
||||||
export async function createTag(item: TagsTreeItem | Uri): Promise<void> {
|
export async function createTag(item: TagsTreeItem | Uri): Promise<void> {
|
||||||
if (item instanceof Uri) {
|
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);
|
await createTagFromUri(item);
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
@ -16,7 +16,7 @@ export async function createTag(item: TagsTreeItem | Uri): Promise<void> {
|
||||||
if (item instanceof TagsTreeItem) {
|
if (item instanceof TagsTreeItem) {
|
||||||
const folder = await selectWorkspaceFolder("Select folder of your function code.");
|
const folder = await selectWorkspaceFolder("Select folder of your function code.");
|
||||||
console.log(folder);
|
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));
|
await createTagFromUri(Uri.parse(folder));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue