aboutsummaryrefslogtreecommitdiffstats
path: root/lib/autoprovider.js
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-06 20:26:51 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-06 20:26:51 +0800
commitaf9242f4cc382a61bea9142ddbd0cec2e1edf08a (patch)
treee08dc7265e59f25057631916684b93b32ac80cd6 /lib/autoprovider.js
parent1954b878191e08db04188f0934b15ebe8c2c5a84 (diff)
downloadgo-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.gz
go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.tar.zst
go-tangerine-af9242f4cc382a61bea9142ddbd0cec2e1edf08a.zip
fixed gulp build
Diffstat (limited to 'lib/autoprovider.js')
-rw-r--r--lib/autoprovider.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/autoprovider.js b/lib/autoprovider.js
index bfbc3ab6e..6311d92ff 100644
--- a/lib/autoprovider.js
+++ b/lib/autoprovider.js
@@ -27,12 +27,10 @@
* if it fails, it uses HttpRpcProvider
*/
-// TODO: work out which of the following two lines it is supposed to be...
-//if (process.env.NODE_ENV !== 'build') {
-if ("build" !== 'build') {/*
+if (process.env.NODE_ENV !== 'build') {
var WebSocket = require('ws'); // jshint ignore:line
var web3 = require('./main.js'); // jshint ignore:line
-*/}
+}
var AutoProvider = function (userOptions) {
if (web3.haveProvider()) {