From e4ab161a33eaf6a5cd224305a52747bfe6b24278 Mon Sep 17 00:00:00 2001 From: gzukowski Date: Fri, 29 Dec 2023 11:59:22 +0000 Subject: [PATCH] linting fix --- js/clickup-add-issues/index.ts | 1 - js/git-read-issues/src/githubClient.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/js/clickup-add-issues/index.ts b/js/clickup-add-issues/index.ts index 5620a74a..7baa8a9a 100644 --- a/js/clickup-add-issues/index.ts +++ b/js/clickup-add-issues/index.ts @@ -9,7 +9,6 @@ const mod: (TransformApp | { requires: string, contentType: string})[] = [ const clickupClient = new ClickupClient(apiKey); const onError = (error: any) => { console.error(error); }; - (input as StringStream) .map((data) => { data = JSON.parse(data); diff --git a/js/git-read-issues/src/githubClient.ts b/js/git-read-issues/src/githubClient.ts index a076b65d..963604df 100644 --- a/js/git-read-issues/src/githubClient.ts +++ b/js/git-read-issues/src/githubClient.ts @@ -33,7 +33,7 @@ export class GithubClient { (elem: { labels: any[]; }) => { let hasReadLabel = false; elem.labels.forEach((e) => { - if (typeof e !== "string" && "name" in e && e.name === "read" ) { + if (typeof e !== "string" && "name" in e && e.name === "read") { hasReadLabel = true; } });