File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
samples/fabric/fabric-cli/src/helpers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,7 @@ jobs:
144144 run : |
145145 echo ${GITHUB_WORKSPACE}
146146 cp .env.template .env
147+ sed -i "s/CHAINCODE_PATH=.*/CHAINCODE_PATH=\.\/chaincode\.json/g" .env
147148 ./bin/fabric-cli env set MEMBER_CREDENTIAL_FOLDER ${GITHUB_WORKSPACE}/samples/fabric/fabric-cli/src/data/credentials_docker
148149 ./bin/fabric-cli env set CONFIG_PATH ${GITHUB_WORKSPACE}/samples/fabric/fabric-cli/config.json
149150 cat .env
@@ -409,6 +410,7 @@ jobs:
409410 run : |
410411 echo ${GITHUB_WORKSPACE}
411412 cp .env.template .env
413+ sed -i "s/CHAINCODE_PATH=.*/CHAINCODE_PATH=\.\/chaincode\.json/g" .env
412414 ./bin/fabric-cli env set MEMBER_CREDENTIAL_FOLDER ${GITHUB_WORKSPACE}/samples/fabric/fabric-cli/src/data/credentials
413415 ./bin/fabric-cli env set CONFIG_PATH ${GITHUB_WORKSPACE}/samples/fabric/fabric-cli/config.json
414416 cat .env
Original file line number Diff line number Diff line change @@ -530,9 +530,7 @@ const getChaincodeConfig = (
530530 ? path . join ( process . env . CHAINCODE_PATH )
531531 : path . join ( __dirname , '../../chaincode.json' )
532532 try {
533- console . log ( 'getChaincodeConfig: path:' , ccPath )
534533 const ccJSON = JSON . parse ( fs . readFileSync ( ccPath ) . toString ( ) )
535- console . log ( 'getChaincodeConfig: JSON:' , ccJSON )
536534 if ( ! ccJSON [ chaincodeId ] ) {
537535 logger . error (
538536 `Chaincode: ${ chaincodeId } does not exist in the chaincode.json file`
You can’t perform that action at this time.
0 commit comments