Remove unused read stream

This commit is contained in:
Kevin Sawicki
2013-09-05 11:22:03 -07:00
parent 5b73ef20eb
commit 23f30dbbfd

View File

@@ -41,9 +41,6 @@ module.exports = (grunt) ->
unzipAtomShell = (zipPath, callback) ->
grunt.log.writeln('Unzipping atom-shell')
directoryPath = path.dirname(zipPath)
inputStream = fs.createReadStream(zipPath)
inputStream.on 'close', -> callback()
inputStream.on 'error', -> callback(new Error("Unzipping #{zipPath} failed"))
try
zip = new AdmZip(zipPath);