Skip to content

Commit 75b7071

Browse files
authored
Address CodeQL findings (Azure#24823)
1 parent 2b63e77 commit 75b7071

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

CodeQL.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
path_classifiers:
2+
generated:
3+
- "sdk/**/fake"
4+
tests:
5+
- "sdk/internal/perf"

sdk/azidentity/cache/cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ var (
3939
}
4040
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
4141
defer cancel()
42-
in := []byte(n)
42+
in := []byte("test content")
4343
err = s.Write(ctx, in)
4444
if err != nil {
4545
storageError = fmt.Errorf(errFmt, err)

0 commit comments

Comments
 (0)