Fix silly lint error

This commit is contained in:
Lennart Kats 2024-12-20 21:05:37 +01:00
parent 6d5cb1d075
commit 0acb2223bc
No known key found for this signature in database
GPG Key ID: 1EB8B57673197023
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ type translateContext struct {
//
// localPath - the full local file system path.
// localRelPath - the relative path from the base directory.
func GetLocalPath(ctx context.Context, b *bundle.Bundle, sourceDir string, p string) (string, string, error) {
func GetLocalPath(ctx context.Context, b *bundle.Bundle, sourceDir, p string) (string, string, error) {
if p == "" {
return "", "", fmt.Errorf("path cannot be empty")
}