diff options
| author | ewy <ewy0@protonmail.com> | 2026-04-14 20:13:13 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-04-14 20:13:13 +0200 |
| commit | f6963b1c451afcb2f0d0104f38178235e52f8b63 (patch) | |
| tree | 791ac29577c358dcc588d2dc8db67a7be5e9b161 /runner/python/runner.go | |
| parent | f26f2a1b0d9d2772ce42da34fd99762e5aa3ad32 (diff) | |
remove all name repetition
Diffstat (limited to 'runner/python/runner.go')
| -rw-r--r-- | runner/python/runner.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runner/python/runner.go b/runner/python/runner.go index b06d8ab..2293336 100644 --- a/runner/python/runner.go +++ b/runner/python/runner.go @@ -57,7 +57,7 @@ func (p python) PyFor(src *model.Source) []string { } func (p python) CreateProjTarget(name string, cmd string) model.Target { - return &ProjTarget{ + return &Project{ BaseTarget: runner.BaseTarget{ Identity: identity.New(name), }, @@ -67,7 +67,7 @@ func (p python) CreateProjTarget(name string, cmd string) model.Target { func (p python) CreateTarget(fs fs.FS, source string, file string, entry fs.DirEntry) (model.Target, error) { _, filename := filepath.Split(file) - return &FileTarget{ + return &File{ BaseTarget: runner.BaseTarget{ Identity: identity.New(filename), MyTags: model.TagsFromFilename(filename), |
