troch.github.io
troch.github.io copied to clipboard
map-stream example: wrap map() call in a function
gulp pipe() requires a function that returns a Stream. map() returns a Stream object, not a function. So all I needed to do to get the map-stream example to work was to wrap the call to map() in a function.