mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Remove unused read stream
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user