Skip to content

Commit da65c4b

Browse files
committed
Changing to close event
1 parent 090091d commit da65c4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var getScriptCs = function() {
99
var response = request("http://chocolatey.org/api/v2/package/ScriptCs/" + version);
1010

1111
response.pipe(unzip.Extract({path:"scs"}))
12-
.on("end", function(){
12+
.on("close", function(){
1313
copyDir(path.join("scs","tools","scriptcs"), "lib");
1414
});
1515
}

0 commit comments

Comments
 (0)