Commit eebaa0e
fix: resolve all 89 golangci-lint errors (#2)
* fix: resolve all 89 golangci-lint errors
- Remove unused code (types, functions, constants, imports) - 22 fixes
- Replace WriteString(fmt.Sprintf(...)) with fmt.Fprintf(...) - 14 staticcheck fixes
- Remove dead variable assignments - 3 ineffassign fixes
- Add _ = for unchecked AddTags/DeleteAllTags/Shutdown/Close calls - 50 errcheck fixes
* refactor: assert errors from HandleRequest in test setup calls
Replace _, _ = p.HandleRequest(...) with proper error capture and
require.NoError(t, err) assertions in s3 and iam provider tests.
* fix: sanitize uploadID in multipartDir to prevent path traversal
Use filepath.Base to strip any path separators from uploadID before
constructing the multipart directory path.
* Potential fix for pull request finding 'CodeQL / Uncontrolled data used in path expression'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* Potential fix for pull request finding 'CodeQL / Uncontrolled data used in path expression'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
---------
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>1 parent 2780ce6 commit eebaa0e
295 files changed
Lines changed: 1505 additions & 1596 deletions
File tree
- cmd/devcloud
- internal
- codegen
- dashboard
- eventbus
- gateway
- plugin
- services
- account
- acmpca
- acm
- amplify
- apigatewayv2
- appconfig
- applicationautoscaling
- appsync
- athena
- autoscaling
- backup
- batch
- bedrock
- cloudcontrol
- cloudformation
- cloudfront
- cloudsearch
- cloudtrail
- cloudwatchlogs
- cloudwatch
- codeartifact
- codebuild
- codecommit
- codeconnections
- codedeploy
- codepipeline
- cognitoidentityprovider
- cognitoidentity
- configservice
- costexplorer
- dms
- docdb
- dynamodbstreams
- dynamodb
- ebs
- ec2
- ecr
- ecs
- efs
- eks
- elasticache
- elasticbeanstalk
- elasticloadbalancingv2
- elasticsearchservice
- emr
- eventbridge
- firehose
- fis
- glacier
- glue
- iam
- identitystore
- iotdataplane
- iotwireless
- iot
- kafka
- kinesisanalyticsv2
- kinesis
- kms
- lakeformation
- lambda
- managedblockchain
- mediaconvert
- memorydb
- mq
- mwaa
- neptune
- opensearch
- organizations
- pinpoint
- pipes
- ram
- rds
- redshift
- resourcegroupstaggingapi
- resourcegroups
- route53resolver
- route53
- s3tables
- s3
- sagemaker
- scheduler
- secretsmanager
- serverlessrepo
- servicediscovery
- sesv2
- ses
- sfn
- shield
- sns
- sqs
- ssm
- ssoadmin
- support
- swf
- textract
- timestreamwrite
- transcribe
- transfer
- wafv2
- waf
- xray
- storage/sqlite
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
54 | | - | |
55 | | - | |
| 53 | + | |
| 54 | + | |
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| |||
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | | - | |
| 73 | + | |
75 | 74 | | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
79 | | - | |
| 78 | + | |
80 | 79 | | |
81 | 80 | | |
82 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | 48 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments