Skip to content

Commit

Permalink
update name
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Oct 9, 2023
1 parent ec2d58a commit 88a1aa7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ var generateCmd = &cobra.Command{
var client = sdkClient.GetClient()

var generatorType = args[0]
var file = args[1]
var schemaFile = args[1]
var outputDir = args[2]

stat, err := os.Stat(outputDir)
Expand All @@ -34,7 +34,7 @@ var generateCmd = &cobra.Command{
log.Fatal("Provided output directory does not exist")
}

jsonFile, err := os.Open(file)
jsonFile, err := os.Open(schemaFile)
if err != nil {
log.Fatal(err)
}
Expand Down

0 comments on commit 88a1aa7

Please sign in to comment.