Skip to content
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

sherlock file.md fails if no error is thrown in script #4

Closed
bgotink opened this issue Jan 18, 2020 · 1 comment
Closed

sherlock file.md fails if no error is thrown in script #4

bgotink opened this issue Jan 18, 2020 · 1 comment

Comments

@bgotink
Copy link

bgotink commented Jan 18, 2020

A markdown file that contains a repro that doens't fail leads to a confusing error in sherlock:

$ yarn sherlock test.md
Type Error [ERR_INVALID_ARG_TYPE]: The "chunk" argument must be one of type string or Buffer. Received type undefined
    at validChunk (_stream_writable.js:263:10)
    at WriteStream.Writable.write (_stream_writable.js:297:21)
    at EntryCommand.execute (/Users/bram/Workspaces/Private/berry/.yarn/cache/@arcanis-sherlock-npm-1.0.25-752547fef2-1.zip/node_modules/@arcanis/sherlock/lib/commands/entry.js:91:29)
    at process._tickCallback (internal/process/next_tick.js:68:7)
@arcanis
Copy link
Owner

arcanis commented Jan 19, 2020

Fixed!

@arcanis arcanis closed this as completed Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants