Skip to content

Commit

Permalink
chore: update file paths for resources
Browse files Browse the repository at this point in the history
  • Loading branch information
kardolus committed Nov 6, 2024
1 parent 94892f4 commit 1b30dbf
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
ChatGPT CLI provides a powerful command-line interface for seamless interaction with ChatGPT models via OpenAI and
Azure, featuring streaming capabilities and extensive configuration options.

![a screenshot](resources/vhs.gif)
![a screenshot](cmd/chatgpt/resources/vhs.gif)

## Table of Contents

Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions test/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ func FileToBytes(fileName string) ([]byte, error) {
err error
)
if strings.Contains(thisFile, "vendor") {
urlPath, err = filepath.Abs(path.Join(thisFile, "../../../../../..", "resources", "testdata", fileName))
urlPath, err = filepath.Abs(path.Join(thisFile, "../../../../../..", "test", "testdata", fileName))
} else {
urlPath, err = filepath.Abs(path.Join(thisFile, "../..", "resources", "testdata", fileName))
urlPath, err = filepath.Abs(path.Join(thisFile, "../..", "test", "testdata", fileName))
}

if err != nil {
Expand Down

0 comments on commit 1b30dbf

Please sign in to comment.