aboutsummaryrefslogtreecommitdiff
path: root/lib/handleInput.js
diff options
context:
space:
mode:
authorGregg Caines <[email protected]>2013-11-15 13:08:29 -0800
committerGregg Caines <[email protected]>2013-11-15 13:08:29 -0800
commit097ce4e175e701efb95fd8aeaeb81a9d929d90ba (patch)
tree97bf43b178f0f21b168c10474afbae7627ecc652 /lib/handleInput.js
parentd52c62b04c5c11fd931ca967f09621d03c330f88 (diff)
parenta639b7dcb280f3b1ab6c8357fb3c8b9057543e79 (diff)
downloadnode-coveralls-097ce4e175e701efb95fd8aeaeb81a9d929d90ba.tar.xz
node-coveralls-097ce4e175e701efb95fd8aeaeb81a9d929d90ba.zip
Merge pull request #25 from tdd/master
Fix direct dev use on a local Git repo + improve Git metadata fetching
Diffstat (limited to 'lib/handleInput.js')
-rw-r--r--lib/handleInput.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/handleInput.js b/lib/handleInput.js
index 1435c1c..807e31d 100644
--- a/lib/handleInput.js
+++ b/lib/handleInput.js
@@ -1,9 +1,10 @@
var index = require('../index');
var logger = require('./logger')();
-var handleInput = function(input){
+function handleInput(input) {
logger.debug(input);
var options = index.getOptions(function(err, options){
+
if (err){
logger.error("error from getOptions");
throw err;
@@ -28,7 +29,6 @@ var handleInput = function(input){
});
});
});
-
-};
+}
module.exports = handleInput;