From 23f30dbbfda49d085b8da3767c32b272b5c13856 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Thu, 5 Sep 2013 11:22:03 -0700 Subject: [PATCH] Remove unused read stream --- tasks/update-atom-shell-task.coffee | 3 --- 1 file changed, 3 deletions(-) diff --git a/tasks/update-atom-shell-task.coffee b/tasks/update-atom-shell-task.coffee index fa16544f0..8cafe0ab0 100644 --- a/tasks/update-atom-shell-task.coffee +++ b/tasks/update-atom-shell-task.coffee @@ -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);