The concat solution in substack's repo isn't valid - he uses console.log to achieve what should be done by piping to stdout.