Skip to content

Conversation

jlaire
Copy link
Contributor

@jlaire jlaire commented Nov 4, 2011

At line 110 in the same file, writeError is called without a second argument which makes options undefined and options.color an error.

If moving the line before all vars is against your coding standards, an alternative is using options && options.color or doing the initialization of stylize later.

@marcoleong
Copy link

Goods, I just met this problems. Applied, and it works , Thx

cloudhead pushed a commit that referenced this pull request Nov 12, 2011
fix undefined reference
@cloudhead cloudhead merged commit 7401f5a into less:master Nov 12, 2011
@cloudhead
Copy link
Member

Thank you!

stefanklug pushed a commit to stefanklug/carto that referenced this pull request Jan 27, 2019
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

Successfully merging this pull request may close these issues.

3 participants