tidev / titanium-sdk

🚀 Native iOS and Android Apps with JavaScript
https://titaniumsdk.com/
Other
2.76k stars 1.21k forks source link

fix: allow ignoreLog to be a single string #14116

Closed m1ga closed 2 months ago

m1ga commented 2 months ago

Currently if you use ignoreLog with just a single string instead of an array it will show lots of

TypeError: ignoreLog.some is not a function at printData`

errors in the log.

This PR will allow strings.

Test