Skip to content

Commit

Permalink
fix: doc extract path
Browse files Browse the repository at this point in the history
  • Loading branch information
lucix-aws committed Mar 25, 2024
1 parent 1b28ac4 commit 249441c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions internal/repotools/cmd/docextractor/serialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func serialize(packageName string, items map[string]jewelryItem) {
if err != nil {
fmt.Println(err)
}
err = os.WriteFile(fmt.Sprintf("../clients/%v.json", packageName), content, 0644)
err = os.WriteFile(fmt.Sprintf("clients/%v.json", packageName), content, 0644)
if err != nil {
panic(err)
}
Expand All @@ -43,7 +43,7 @@ func serialize(packageName string, items map[string]jewelryItem) {
if err != nil {
fmt.Println(err)
}
err = os.WriteFile(fmt.Sprintf("../public/members/-aws-sdk-client-%v.%v.%v.json", packageName, item.Name, string(item.Type)), content, 0644)
err = os.WriteFile(fmt.Sprintf("public/members/-aws-sdk-client-%v.%v.%v.json", packageName, item.Name, string(item.Type)), content, 0644)
if err != nil {
panic(err)
}
Expand All @@ -65,7 +65,7 @@ func serialize(packageName string, items map[string]jewelryItem) {
if err != nil {
fmt.Println(err)
}
err = os.WriteFile(fmt.Sprintf("../public/members/-aws-sdk-client-%v.json", packageName), content, 0644)
err = os.WriteFile(fmt.Sprintf("public/members/-aws-sdk-client-%v.json", packageName), content, 0644)
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 249441c

Please sign in to comment.