Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-timothy-albert committed Oct 4, 2024
1 parent c028c29 commit e17aa0c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions internal/actions/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,13 @@ func Release() error {
}

if strings.Contains(file, "gen.lock") {
fmt.Println("Starting transform")
dir = filepath.Dir(file)
dir = filepath.Dir(strings.ReplaceAll(dir, "/.speakeasy", ""))
dir = filepath.Dir(strings.ReplaceAll(dir, ".speakeasy", ""))
fmt.Println(dir)
dir = strings.ReplaceAll(dir, "/.speakeasy", "")
fmt.Println(dir)
dir = strings.ReplaceAll(dir, ".speakeasy", "")
fmt.Println(dir)
logging.Info("Found gen.lock in %s\n", dir)
break
}
Expand Down

0 comments on commit e17aa0c

Please sign in to comment.