Skip to content

Commit

Permalink
Remove duplicate WorkDir()
Browse files Browse the repository at this point in the history
  • Loading branch information
pchila committed Jul 4, 2023
1 parent 3dfa7f5 commit 11e3036
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pkg/testing/fixture.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,11 +347,6 @@ func (f *Fixture) Exec(ctx context.Context, args []string, opts ...process.CmdOp
return cmd.CombinedOutput()
}

// WorkDir returns the current working directory of the fixture (where the agent files are located)
func (f *Fixture) WorkDir() string {
return f.workDir
}

func (f *Fixture) ensurePrepared(ctx context.Context) error {
if f.workDir == "" {
return f.Prepare(ctx)
Expand Down

0 comments on commit 11e3036

Please sign in to comment.