fix(lint): non-used method in tests

This commit is contained in:
Julien Neuhart
2025-11-13 22:12:02 +01:00
parent f9ad8bd2d5
commit 4a788ce9d8
-11
View File
@@ -1005,14 +1005,3 @@ func InitializeScenario(ctx *godog.ScenarioContext) {
return ctx, nil
})
}
func (s *scenario) getPath(name string) (string, error) {
path := fmt.Sprintf("%s/%s/%s", s.workdir, s.resp.Header().Get("Gotenberg-Trace"), name)
_, err := os.Stat(path)
if os.IsNotExist(err) {
return "", fmt.Errorf("PDF %q does not exist", path)
}
return path, nil
}