THRIFT-3200 JS and nodejs do not encode JSON protocol binary fields as base64
Client: Javascript
Patch: Nobuaki Sukegawa
This closes #698
diff --git a/lib/js/Gruntfile.js b/lib/js/Gruntfile.js
index 32c8834..ae3783b 100644
--- a/lib/js/Gruntfile.js
+++ b/lib/js/Gruntfile.js
@@ -41,7 +41,7 @@
command: 'mkdir test/build; mkdir test/build/js; cp src/thrift.js test/build/js/thrift.js'
},
InstallThriftNodeJSDep: {
- command: 'cd ../nodejs; npm install'
+ command: 'cd ../..; npm install'
},
ThriftGen: {
command: 'thrift -gen js -gen js:node -o test ../../test/ThriftTest.thrift'
@@ -61,7 +61,7 @@
},
nodeSpawnOptions: {
cwd: "test",
- env: {NODE_PATH: "../../nodejs/lib:../../nodejs/node_modules"}
+ env: {NODE_PATH: "../../nodejs/lib:../../../node_modules"}
}
},
cmd: "node",
@@ -74,7 +74,7 @@
},
nodeSpawnOptions: {
cwd: "test",
- env: {NODE_PATH: "../../nodejs/lib:../../nodejs/node_modules"}
+ env: {NODE_PATH: "../../nodejs/lib:../../../node_modules"}
}
},
cmd: "node",