Skip to content

Commit

Permalink
Fix reviewdog
Browse files Browse the repository at this point in the history
  • Loading branch information
nao1215 committed Feb 21, 2024
1 parent 1007b42 commit 8323dec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/cfn-guard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
paths:
- 'cloudformation/**'
- 'cloudformation/**/**'

jobs:
cfn-guard:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cloudformation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
paths:
- 'cloudformation/**'
- 'cloudformation/**/**'

jobs:
deploy:
Expand Down
1 change: 1 addition & 0 deletions app/external/mock/cost_explorer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// Package mock is mock for external package.
package mock

import (
Expand Down
2 changes: 1 addition & 1 deletion app/interactor/cost_explorer.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func NewCostGetter(c service.CostGetter) *CostGetter {
// GetCost gets the cost.
func (c *CostGetter) GetCost(ctx context.Context, input *usecase.CostGetterInput) (*usecase.CostGetterOutput, error) {
if input.End.Before(input.Start) {
return nil, errors.New("End date is before the start date")
return nil, errors.New("end date is before the start date")
}
output, err := c.CostGetter.GetCost(ctx, &service.CostGetterInput{
Start: input.Start,
Expand Down

0 comments on commit 8323dec

Please sign in to comment.