Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mfix22 committed Feb 28, 2017
1 parent b7cf969 commit cc51f4c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ const convert = ({ files, outputPath, outputType, name }) => {

console.log(command)

execS(command, (error) => {
if (error) reject(error)
else resolve(outputName)
})
return execS(command, err => (err ? reject(err) : resolve(outputName)))
})
})
}
Expand Down

0 comments on commit cc51f4c

Please sign in to comment.