Skip to content

Commit

Permalink
fixed GOPATH bug/error mssage 2
Browse files Browse the repository at this point in the history
  • Loading branch information
John Sartore committed Jan 19, 2017
1 parent c61398f commit 154ee35
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/marbles_cc_lib/deploy_cc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 154ee35

Please sign in to comment.