pass in correct root
This commit is contained in:
parent
a41f215785
commit
c6616c3e47
@ -232,7 +232,7 @@ func GfmrunActionFunc(cCtx *cli.Context) error {
|
|||||||
|
|
||||||
if walk {
|
if walk {
|
||||||
// Walk the directory and find all markdown files.
|
// 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 {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user