Accidentally hit control+D (the prompt was covered by another window at a higher layer and I planned to exit the shell) and got the following:
Upload result to VimGolf? (yes / no) Uh oh, something went wrong! Error: undefined method `strip' for nil:NilClass
If the error persists, please report it to github.com/igrigorik/vimgolf
I'm guessing it's a pretty straightforward fix.
Can't reproduce here - what platform? I'm not sure what the fix is.. if you exited Vim, them not much we can do here. :)
Debian Linux. It's coming from the Ruby Vimgolf code. It looks like you're expecting a "y" or "n" for whether to upload the results to Vimgolf, but if a control+D (EOF) is received, Ruby gets something it doesn't know how to handle. I can regularly reproduce it by issuing an ^D/EOF at this prompt.
It may stem from the internal Thor libraries which handle the "yes" method.
Right, makes sense. Can't reproduce on OSX, wonder if there is a bug in Thor..