Skip to content

Commit

Permalink
fix: passe default mockpath to generate context in keploy initializat…
Browse files Browse the repository at this point in the history
…ion (#161)

Signed-off-by: re-Tick <[email protected]>

Signed-off-by: re-Tick <[email protected]>
  • Loading branch information
re-Tick authored Jan 9, 2023
1 parent aaed899 commit 8e1c996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keploy/keploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func New(cfg Config) *Keploy {
Mode: GetMode(),
Name: k.cfg.App.Name,
CTX: context.Background(),
Path: cfg.App.TestPath,
Path: strings.TrimSuffix(cfg.App.MockPath, "/mocks"),
OverWrite: true,
})
}
Expand Down

0 comments on commit 8e1c996

Please sign in to comment.