Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@leoj3n
Copy link
Contributor

@leoj3n leoj3n commented Mar 31, 2017

Is there any instance when the json docObject won't have a path to print?

EDIT:

Looks like it can also contain line and codeLine:

WARNING: Unable to document  {"src":{"line":124,"codeLine":124,"path":"node_mod

@leoj3n leoj3n requested a review from justinbmeyer March 31, 2017 14:36
@leoj3n leoj3n changed the title log source file path for unable warning improvement: log source file path for unable warning Mar 31, 2017
@leoj3n leoj3n self-assigned this Apr 17, 2017
Copy link
Member

@justinbmeyer justinbmeyer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think it is possible. Many docObject's can be created from a single object (like @group). I think you should check that it exists, otherwise, use the existing behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.