It's idiomatic to treat the if/else as an expression in such cases:

```coffeescript
lines = if ...
  [...]
else
  []
```