Remove unneeded try/catch

This commit is contained in:
Kevin Sawicki
2015-02-02 14:08:35 -08:00
parent 434c9e60a8
commit 2e989b502a

View File

@@ -113,11 +113,8 @@ createOptions = (filePath) ->
transpile = (sourceCode, filePath, cachePath) ->
options = createOptions(filePath)
try
js = to5.transform(sourceCode, options).code
stats.misses++
catch error
throw error
js = to5.transform(sourceCode, options).code
stats.misses++
try
fs.writeFileSync(cachePath, js)