From c4900ef32c5df3f5b3bcbb8fd7797c36a2506aa1 Mon Sep 17 00:00:00 2001 From: goodactive <167312449+goodactive@users.noreply.github.com> Date: Sat, 20 Apr 2024 16:39:07 +0800 Subject: [PATCH] chore: remove repetitive words (#449) Signed-off-by: goodactive --- processor/workers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/processor/workers.go b/processor/workers.go index 1d9c71df1..e48fbcef2 100644 --- a/processor/workers.go +++ b/processor/workers.go @@ -29,7 +29,7 @@ const ( // SheBang is a global constant for indicating a shebang file header const SheBang string = "#!" -// LineType what type of line are are processing +// LineType what type of line are processing type LineType int32 // These are not meant to be CAMEL_CASE but as it us used by an external project we cannot change it @@ -411,7 +411,7 @@ func CountStats(fileJob *FileJob) { fileJob.Hash = blake2b.New256() } - // If the file has a length of 0 it is is empty then we say it has no lines + // If the file has a length of 0 it is empty then we say it has no lines if fileJob.Bytes == 0 { fileJob.Lines = 0 return