diff options
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) |
