aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-26 23:41:00 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-26 23:41:00 +0800
commite5d294df327d817bbe66764fba596e77d2a66b7b (patch)
treed5a52d9c6cd5907dd92ce47d50c4ff1bfb6125e4 /lib
parentd0b6f3663b70c325eb0d1474c3c5df51e53c2cee (diff)
downloaddexon-e5d294df327d817bbe66764fba596e77d2a66b7b.tar.gz
dexon-e5d294df327d817bbe66764fba596e77d2a66b7b.tar.zst
dexon-e5d294df327d817bbe66764fba596e77d2a66b7b.zip
return null instead of undefined, if not provider is set
Diffstat (limited to 'lib')
-rw-r--r--lib/providermanager.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/providermanager.js b/lib/providermanager.js
index a00f444a1..025ade355 100644
--- a/lib/providermanager.js
+++ b/lib/providermanager.js
@@ -70,7 +70,7 @@ ProviderManager.prototype.send = function(data) {
if (this.provider === undefined) {
console.error('provider is not set');
- return undefined;
+ return null;
}
//TODO: handle error here?