Skip to content

Commit 3eb3e03

Browse files
authored
chore: fix build (#3)
* chore: fix build * fix spelling as well
1 parent 249d008 commit 3eb3e03

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

internal/scanner/repoconfig.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ func LoadOrGenerateRepositoryConfig(dir string, opts ...config.GenerationOption)
4242
templatePath := filepath.Join(dir, repoConfigTemplateFilename)
4343
opts = append(
4444
opts,
45-
config.WithCloudFormationSupport(),
4645
config.WithEnvVars(env),
4746
// TODO: add more options later
4847
)

pkg/auth/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ func (c *Config) SaveCache(token *oauth2.Token) error {
7272
_ = f.Close()
7373
}()
7474

75-
//nolint:gosec // G117: Marshalling a token to JSON is not a security risk as the token is already stored in plaintext on disk.
75+
//nolint:gosec // G117: Marshaling a token to JSON is not a security risk as the token is already stored in plaintext on disk.
7676
if err := json.NewEncoder(f).Encode(token); err != nil {
7777
return fmt.Errorf("failed to encode token cache: %w", err)
7878
}

0 commit comments

Comments
 (0)