Skip to content

Commit

Permalink
fix: fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ravisuhag committed Jul 26, 2023
1 parent 371d683 commit e71c586
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func GenCmd() *cobra.Command {

cmd := &cobra.Command{
Use: "gen",
Args: cobra.ExactValidArgs(1),
Args: cobra.MatchAll(cobra.ExactArgs(1)),
Short: "Generate recipes",
Long: heredoc.Doc(`
Generate multiple recipes using a template and list of data.
Expand Down
2 changes: 1 addition & 1 deletion cmd/lint.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func LintCmd() *cobra.Command {
return &cobra.Command{
Use: "lint [path]",
Aliases: []string{"l"},
Args: cobra.ExactValidArgs(1),
Args: cobra.MatchAll(cobra.ExactArgs(1)),
Short: "Check for issues in recipes",
Long: heredoc.Doc(`
Check for issues specified recipes.
Expand Down
2 changes: 1 addition & 1 deletion cmd/new.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func NewRecipeCmd() *cobra.Command {
cmd := &cobra.Command{
Use: "recipe [name]",
Aliases: []string{"r"},
Args: cobra.ExactValidArgs(1),
Args: cobra.MatchAll(cobra.ExactArgs(1)),
Short: "Generate a new recipe",
Long: heredoc.Doc(`
Generate a new recipe.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/blastrain/vitess-sqlparser v0.0.0-20201030050434-a139afbb1aba
github.com/cenkalti/backoff/v4 v4.2.0
github.com/d5/tengo/v2 v2.13.0
github.com/denisenkom/go-mssqldb v0.12.0
github.com/denisenkom/go-mssqldb v0.12.3
github.com/dnaeon/go-vcr/v2 v2.0.1
github.com/elastic/go-elasticsearch v0.0.0
github.com/elastic/go-elasticsearch/v8 v8.0.0-20210708134649-33f644c8e327
Expand Down
3 changes: 2 additions & 1 deletion go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1010,8 +1010,9 @@ github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSs
github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc=
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.1.0/go.mod h1:DZGJHZMqrU4JJqFAWUS2UO1+lbSKsdiOoYi9Zzey7Fc=
github.com/denisenkom/go-mssqldb v0.10.0/go.mod h1:xbL0rPBG9cCiLr28tMa8zpbdarY27NDyej4t/EjAShU=
github.com/denisenkom/go-mssqldb v0.12.0 h1:VtrkII767ttSPNRfFekePK3sctr+joXgO58stqQbtUA=
github.com/denisenkom/go-mssqldb v0.12.0/go.mod h1:iiK0YP1ZeepvmBQk/QpLEhhTNJgfzrpArPY/aFvc9yU=
github.com/denisenkom/go-mssqldb v0.12.3 h1:pBSGx9Tq67pBOTLmxNuirNTeB8Vjmf886Kx+8Y+8shw=
github.com/denisenkom/go-mssqldb v0.12.3/go.mod h1:k0mtMFOnU+AihqFxPMiF05rtiDrorD1Vrm1KEz5hxDo=
github.com/dennwc/varint v1.0.0/go.mod h1:hnItb35rvZvJrbTALZtY/iQfDs48JKRG1RPpgziApxA=
github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod h1:dV8lFg6daOBZbT6/BDGIz6Y3WFGn8juu6G+CQ6LHtl0=
github.com/devigned/tab v0.1.1/go.mod h1:XG9mPq0dFghrYvoBF3xdRrJzSTX1b7IQrvaL9mzjeJY=
Expand Down
1 change: 0 additions & 1 deletion plugins/extractors/optimus/optimus.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ func (e *Extractor) buildJob(ctx context.Context, jobSpec *pb.JobSpecification,
"endDate": jobSpec.EndDate,
"interval": jobSpec.Interval,
"dependsOnPast": jobSpec.DependsOnPast,
"catchUp": jobSpec.CatchUp,
"taskName": jobSpec.TaskName,
"windowSize": jobSpec.WindowSize,
"windowOffset": jobSpec.WindowOffset,
Expand Down

0 comments on commit e71c586

Please sign in to comment.