From 1fd99bfd4396b7f5eb8e780bbc054d65a4084461 Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 26 Feb 2013 16:32:09 -0800 Subject: [PATCH 1/2] fix deletePad script by remembering not to miss a callback.. --- bin/deletePad.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/deletePad.js b/bin/deletePad.js index d1bde2a4..4ed7e2c9 100644 --- a/bin/deletePad.js +++ b/bin/deletePad.js @@ -50,6 +50,8 @@ async.series([ padManager.removePad(padId, function(err){ callback(err); }); +console.error("cool I got here"); + callback(); } ], function (err) { From ea4307ae97484ff2dded89083c3b77d08274e82f Mon Sep 17 00:00:00 2001 From: John McLear Date: Tue, 26 Feb 2013 16:32:34 -0800 Subject: [PATCH 2/2] remove console error --- bin/deletePad.js | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/deletePad.js b/bin/deletePad.js index 4ed7e2c9..f7a6d203 100644 --- a/bin/deletePad.js +++ b/bin/deletePad.js @@ -50,7 +50,6 @@ async.series([ padManager.removePad(padId, function(err){ callback(err); }); -console.error("cool I got here"); callback(); } ], function (err)