Skip to content

Commit

Permalink
Merge pull request #46 from foomo/v0.5.1
Browse files Browse the repository at this point in the history
Release v0.5.1 improvements
  • Loading branch information
franklinkim committed Nov 28, 2023
2 parents ec703b0 + 7488b76 commit a60e70c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion embed/scaffold/init/$.posh/internal/plugin.go.gotext
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type Plugin struct {
// ~ Constructor
// ------------------------------------------------------------------------------------------------

func New(l log.Logger) (plugin.Plugin, error) {
func New(l log.Logger) (plugin.Plugin, error) { //nolint: ireturn
inst := &Plugin{
l: l,
commands: command.Commands{},
Expand Down
8 changes: 8 additions & 0 deletions pkg/prompt/check/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ type Info struct {
Status Status
}

func NewNoteInfo(name, note string) Info {
return Info{
Name: name,
Note: note,
Status: StatusNote,
}
}

func NewSuccessInfo(name, note string) Info {
return Info{
Name: name,
Expand Down
1 change: 1 addition & 0 deletions pkg/prompt/check/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package check
type Status string

const (
StatusNote = "⬜️️"
StatusSuccess = "✅"
StatusFailure = "❌"
)
Expand Down

0 comments on commit a60e70c

Please sign in to comment.