| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Something like this `log('I like %O', { name: '%sugar%' });` will cause output incorrect.
|
Can you add tests for this, please? I'm not sure which sorts of things this fixes. |
Sorry, something went wrong.
The default formatters will replace %o and %O, so when arguments go to the log function, util.format will get arguments like this ["...'%sugar%'... }", '...']. So if you don't escape the % in the value, util.format will replace %s with the next argument. That's why issue #766 happend. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Something like this log('I like %O', { name: '%sugar%' }); will cause output incorrect.