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/shell/hydrated.go | |
| parent | f26f2a1b0d9d2772ce42da34fd99762e5aa3ad32 (diff) | |
remove all name repetition
Diffstat (limited to 'runner/shell/hydrated.go')
| -rw-r--r-- | runner/shell/hydrated.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runner/shell/hydrated.go b/runner/shell/hydrated.go index 77fc45c..e1f8892 100644 --- a/runner/shell/hydrated.go +++ b/runner/shell/hydrated.go @@ -6,15 +6,15 @@ import ( "pik/spool" ) -type HydratedShellTarget struct { - runner.BaseHydration[*ShellTarget] +type Hydrated struct { + runner.BaseHydration[*Target] } -func (h *HydratedShellTarget) Icon() string { +func (h *Hydrated) Icon() string { return "\uF489" } -func (h *HydratedShellTarget) Description() string { +func (h *Hydrated) Description() string { desc, err := describe.Describe(h.BaseTarget.Script) if err != nil { spool.Warn("%v\n", err) |
