Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed May 10, 2019
1 parent c58e7c2 commit cc45e33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const fireCommand = function({ input, opts }) {
return execCommand(input, opts)
}

const addToVinyl = function({ file, result }) {
const addToVinyl = function({ file, file: { exec = [] }, result }) {
// eslint-disable-next-line no-param-reassign, fp/no-mutation
file.exec = [...(file.exec || []), result]
file.exec = [...exec, result]
}

0 comments on commit cc45e33

Please sign in to comment.