Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cut中有bug #3

Open
tlightsky opened this issue Jun 6, 2016 · 2 comments
Open

cut中有bug #3

tlightsky opened this issue Jun 6, 2016 · 2 comments

Comments

@tlightsky
Copy link
Contributor

tlightsky commented Jun 6, 2016

lib/cut.js

    tempData = Buffer.concat(tempData);

这行会报错,应该去掉

@shaozilee
Copy link
Owner

@tlightsky ,合并你的PR后测试存在问题,之前的代码是可以正常运行的。如果你在使用的过程中有错误,麻烦说明下具体的问题和输出日志。

@tlightsky
Copy link
Contributor Author

node: 0.12.7

提示:
TypeError: undefined is not a function
at Function.Buffer.concat (buffer.js:215:9)
at Tufu.module.exports.cut

去掉上述那行就好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants