You're right, that truthy test needs to be changed to an existence check.

```js
var messages = eslint.verify(item.code != null ? item.code : item, config);
```