Skip to content

Commit

Permalink
[FAB-2726] transform windows-style paths in CC package
Browse files Browse the repository at this point in the history
change to linux style with '/' in the chaincode package archive
entries. so that it can be accepted by the endorsers.

Change-Id: I27f45ef2c887469c4f46048b2564f163659ebd51
Signed-off-by: Jim Zhang <jzhang@us.ibm.com>
  • Loading branch information
jimthematrix committed May 17, 2017
1 parent 40fae27 commit 4b5a9b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabric-client/lib/packager/Golang.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function findSource(goPath, filePath) {
if (entry.stats.isFile() && isSource(entry.path)) {

var desc = {
name: path.relative(goPath, entry.path),
name: path.relative(goPath, entry.path).split('\\').join('/'), // for windows style paths
fqp: entry.path
};

Expand Down

0 comments on commit 4b5a9b5

Please sign in to comment.