From ef24324ebaf96d6299b39eedf9c4b1cfdfc6a631 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Tue, 16 Aug 2022 14:33:37 +0700 Subject: [PATCH] chore: fix lint --- .github/workflows/go.yaml | 2 ++ main.go | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index d0f7fb0..7cd04d6 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -39,6 +39,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - uses: actions/setup-go@v3 with: go-version: "1.19" diff --git a/main.go b/main.go index 63c32bd..4717e9f 100644 --- a/main.go +++ b/main.go @@ -20,8 +20,7 @@ const ( flagOutputName = "output" flagOutputUsage = "output directory" - currentDir = "." - licenseFilename = "LICENSE" + currentDir = "." ) var commandGenerateAliases = []string{"gen", "g"}