pass in correct root

This commit is contained in:
Hayden 2022-08-14 18:14:56 -08:00 committed by Dan Buch
parent d217a5ac6c
commit 87f003f087
Signed by: meatballhat
GPG Key ID: A12F782281063434

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
}