From 154ee359f148e6b29defd770f9ba0907dea11fe4 Mon Sep 17 00:00:00 2001 From: John Sartore Date: Thu, 19 Jan 2017 14:02:02 -0500 Subject: [PATCH] fixed GOPATH bug/error mssage 2 --- utils/marbles_cc_lib/deploy_cc.js | 1 - 1 file changed, 1 deletion(-) diff --git a/utils/marbles_cc_lib/deploy_cc.js b/utils/marbles_cc_lib/deploy_cc.js index e18e6011f..cd3211731 100644 --- a/utils/marbles_cc_lib/deploy_cc.js +++ b/utils/marbles_cc_lib/deploy_cc.js @@ -101,7 +101,6 @@ module.exports = function (chain, logger) { //get the path from GOPATH to marble's chaincode folder (b/c hfc expects the path to be this way) //hfc builds the path with: projDir = goPath + '/src/' + chaincodePath; - therefore chaincodePath must reference from GOPATH/src/ function screwy_path(chaincode_folder){ - var gpath = process.env.GOPATH; if(!process.env.GOPATH) { console.log('\n\n\n WARNING: GOPATH is not set! \n please set GOPATH to deploy chaincode\n\n\n');