• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

charmbracelet / glow / 14244739488

03 Apr 2025 01:52PM UTC coverage: 3.722% (-0.007%) from 3.729%
14244739488

Pull #735

github

web-flow
chore: fix typo in error

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Pull Request #735: chore: do some basic repo maintenance (editorconfig, linting, etc)

0 of 85 new or added lines in 14 files covered. (0.0%)

1 existing line in 1 file now uncovered.

77 of 2069 relevant lines covered (3.72%)

0.05 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/man_cmd.go
1
package main
2

3
import (
4
        "fmt"
5
        "os"
6

7
        mcobra "github.com/muesli/mango-cobra"
8
        "github.com/muesli/roff"
9
        "github.com/spf13/cobra"
10
)
11

12
var manCmd = &cobra.Command{
13
        Use:                   "man",
14
        Short:                 "Generates manpages",
15
        SilenceUsage:          true,
16
        DisableFlagsInUseLine: true,
17
        Hidden:                true,
18
        Args:                  cobra.NoArgs,
19
        RunE: func(*cobra.Command, []string) error {
×
20
                manPage, err := mcobra.NewManPage(1, rootCmd)
×
21
                if err != nil {
×
NEW
22
                        return fmt.Errorf("glow: unable to instantiate man page: %w", err)
×
23
                }
×
NEW
24
                if _, err := fmt.Fprint(os.Stdout, manPage.Build(roff.NewDocument())); err != nil {
×
NEW
25
                        return fmt.Errorf("glow: unable to build man page: %w", err)
×
NEW
26
                }
×
NEW
27
                return nil
×
28
        },
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc