We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c0575 commit 899b110Copy full SHA for 899b110
docs/book/utils/litgo/literate.go
@@ -57,12 +57,12 @@ func (l Literate) Process(input *plugin.Input) error {
57
chapterDir: chapterDir,
58
bookSrcDir: bookSrcDir,
59
}
60
- path := pathInfo.FullPath()
+ fullPath := pathInfo.FullPath()
61
62
// TODO(directxman12): don't escape root?
63
- contents, err := os.ReadFile(path)
+ contents, err := os.ReadFile(fullPath)
64
if err != nil {
65
- return "", fmt.Errorf("unable to import %q: %v", path, err)
+ return "", fmt.Errorf("unable to import %q: %v", fullPath, err)
66
67
68
return l.extractContents(contents, pathInfo)
0 commit comments