pass in correct root

This commit is contained in:
Hayden 2022-08-14 18:14:56 -08:00
parent a41f215785
commit c6616c3e47

View File

@ -232,7 +232,7 @@ func GfmrunActionFunc(cCtx *cli.Context) error {
if walk {
// Walk the directory and find all markdown files.
err := filepath.Walk(top, func(path string, info os.FileInfo, err error) error {
err := filepath.Walk(filename, func(path string, info os.FileInfo, err error) error {
if err != nil {
return err
}