sourcegraph / srclib

srclib is a polyglot code analysis library, built for hackability. It consists of language analysis toolchains (currently for Go and Java, with Python, JavaScript, and Ruby in beta) with a common output format, and a CLI tool for running the analysis.
https://srclib.org
Other
942 stars 62 forks source link

validate_cmd: not checking this error is causing a nil dereference. #251

Closed jpoler closed 8 years ago

jpoler commented 8 years ago

@beyang

jpoler commented 8 years ago

@beyang, nice catch. After thinking about it I think that any error at all would be unexpected, whether it is the file missing or some other error.