Skip to content
Browse files

clearTimeout() on the `npm install` handler code

  • Loading branch information...
1 parent b7bd23f commit 37b7f385bcd0019dac691d082057bbeea7579d79 @substack committed Apr 3, 2013
Showing with 2 additions and 1 deletion.
  1. +1 −0 lib/spawn.js
  2. +1 −1 package.json
View
1 lib/spawn.js
@@ -37,6 +37,7 @@ module.exports = function (commit, env, cb) {
ps.on('exit', onexit);
function onexit (code) {
+ clearTimeout(to);
if (code !== 0) {
cb([
'non-zero exit code ', code,
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "ploy",
- "version": "0.4.0",
+ "version": "0.4.1",
"description": "git push deploy http router, hosting branches on subdomains",
"bin": {
"ploy": "bin/cmd.js"

0 comments on commit 37b7f38

Please sign in to comment.
Something went wrong with that request. Please try again.