We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Node 10.0.0 yields an unexpected result when functions are converted to strings through the toString method. Here's what happens:
toString
(function () { }).toString()
'function () { }'
(function(){ }).toString()
'function (){ }'
The affected line is: https://github.com/nodegit/promisify-node/blob/master/utils/args.js#L9 A possible solution is to change the RegExp to: /function.*?\(([^)]*)\)/ (for example).
/function.*?\(([^)]*)\)/