Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
manumilou committed Jun 15, 2018
1 parent b56b761 commit aceb775
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/open.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func openRun(cmd *cobra.Command, args []string) {
checkError(err)

if GetFlagBool(cmd, "list") {
err := open.PrintLinks(proj)
err = open.PrintLinks(proj)
checkError(err)
os.Exit(0)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/helpers/open/open.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func FindLink(proj *project.Project, linkName string) (url string, err error) {

func PrintLinks(proj *project.Project) (err error) {
if len(proj.Manifest.Open) == 0 {
return fmt.Errorf("no links found in the project.")
return fmt.Errorf("no links found in the project")
}
var url, title string
for title, url = range proj.Manifest.Open {
Expand Down

0 comments on commit aceb775

Please sign in to comment.