-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The command does not output the result #42
Comments
Because you didn't include Can you try again with
And see if the issue still occurs? That said, it looks like there's something up with your What does |
Ok, about code snippets generation it was my fault. I thought About diff. The issue is still present. The |
That's the cause of the problem. |
@campoy Because the if len(data) == 0 && err == nil {
// diff exits with a non-zero status when the files don't match.
// Ignore that failure as long as we get output.
return nil, err
} For example, see func init() {
if _, err := exec.LookPath("dot"); err != nil {
// TODO: Replace dot with an importable native Go package to get rid of this annoying external dependency.
fmt.Fprintln(os.Stderr, "`dot` command is required (try `brew install graphviz` to install it).")
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
} However, normally (at least on macOS), doing You might want to change Based on the error message:
I'm guessing that the output was a single newline character, or something like that. |
The issue could be closed as the pull request is opened and will be merged to master soon. |
@rusbob, in general, it's a good practice to leave the issue open until the PR is actually merged and resolves the issue. That way, the issue status accurately represents the status of a feature/bug fix being complete at all times. Unexpected delays in the PR merging process can sometimes happen. It's not a big deal in this case, I just wanted to let you know. :) |
Ok, thanks you for details. |
Create folder and cope there two files docs.md & hello.go
Execute command to get result of output as written in README usages at https://github.com/campoy/embedmd:
Nothing is produced. No any result.md files. What could be wrong ?
The text was updated successfully, but these errors were encountered: