Comments (4)
I guess it was an inlined css file ? I'll try to reproduce, best if you can give me any more info like OS, maybe line feeds, even a screenshot or extract of the result.
Thanks for the tip btw :D
from github-todos.
I was working on osx. I totally forgot to include the error message. I actually removed github-todos from the repo. I will try to add it back and reproduce.
FYI: I was adding/removing zurb foundation css, js and other related things in one commit (and of course I did this the silly way of removing it line-by-line in stead of git rm
).
from github-todos.
from github-todos.
This is an issue on Debian Jessie for me while trying to run the hook for my massive number of previous project commits. Note: I'm simply working with files with a possible large number of changes per each commit.
I believe your bug is found in the child_process.exec function, according to documentation the maximum stdout output by default is only 200/kb, ref: Stack Overflow Question
Out of curiosity I ran "git diff -u d23f926..685053c | wc -c", which reported the output was somewhere close to 1.8/mb, which explains why the buffer of 200/kb was being exceeded.
So I went into file lib/git.js
and added {maxBuffer: 10240000}
as the second argument to the exec
method on line 29. This fixed the problem except then I was getting TypeError: Cannot read property 'content' of undefined
from file lib/parse-diff.js
. Since I didn't really feel like finding the source of the problem at that point, I ignored it for now by adding file.lines[0] != null &&
to the if case on line 19. To my surprise this hasn't seem to cause any issues with the function of the program.
from github-todos.
Related Issues (20)
- Error on `github-todos init` HOT 4
- Decouple from githooks? HOT 5
- Writing two TODO on subsequent lines, put them in same issue HOT 3
- Add an option to rename issue title on the fly HOT 3
- GitHub enterprise support HOT 8
- Target text file HOT 1
- /usr/bin/env: node: No such file or directory HOT 3
- Error while tryping to `github-todos auth` HOT 3
- Custom Host support HOT 6
- XDG support/customization for global config file
- Failed injecting issues HOT 4
- Repeating issues HOT 3
- Token is saved in .github-todos, which is not in .gitignore by default
- Do not create issue - Throws error
- plain export HOT 2
- Git push fails fs.js:557 HOT 3
- Gitlab issue service? HOT 2
- Unhandled rejection ReferenceError: primordials is not defined HOT 2
- Trying to get in touch regarding a security issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github-todos.