diff --git a/binding.gyp b/binding.gyp index 84bb084..cbc4f09 100644 --- a/binding.gyp +++ b/binding.gyp @@ -77,14 +77,14 @@ } ], [ - 'OS=="mac"', { + "OS=='mac'", { "libraries": [ "-L/usr/local/lib" ], "xcode_settings": { - "MACOSX_DEPLOYMENT_TARGET": '10.7', + "MACOSX_DEPLOYMENT_TARGET": "10.7", "OTHER_CPLUSPLUSFLAGS": [ - '-stdlib=libc++' + "-stdlib=libc++" ] } }], diff --git a/src/publickey.cc b/src/publickey.cc index 6cc4cb1..5d9e01b 100644 --- a/src/publickey.cc +++ b/src/publickey.cc @@ -139,7 +139,6 @@ NAN_METHOD(publicKeyCombine) { CHECK_TYPE_ARRAY(buffers, EC_PUBKEYS_TYPE_INVALID); CHECK_LENGTH_GT_ZERO(buffers, EC_PUBKEYS_LENGTH_INVALID); - // vector instead new for public_keys? std::unique_ptr public_keys(new secp256k1_pubkey[buffers->Length()]); std::unique_ptr ins(new secp256k1_pubkey*[buffers->Length()]); for (unsigned int i = 0; i < buffers->Length(); ++i) { diff --git a/test/index.js b/test/index.js index 2496f18..4d23c6b 100644 --- a/test/index.js +++ b/test/index.js @@ -7,7 +7,9 @@ var repeat = global.__env__ && global.__env__.RANDOM_TESTS_REPEAT || 10 repeat = parseInt(repeat, 10) -var isTravis = global.__env__ && global.__env__.TRAVIS || process.env.TRAVIS || false +var isTravis = global.__env__ && global.__env__.TRAVIS || + process.env.TRAVIS || + false /** * @param {Object} secp256k1