Fix a bug when the catalog is an invalid json schema
I just got that bug when I was toying with
The tap doesn't support
--discover but will still extract data when called with
--discover. That will in turn create a catalog file with the output of the extraction (which is not a valid json schema).
On subsequent runs, the catalog would fail to parse and cause an error in
Normally, taps should output a json schema (catalog) when run with
I've also created an issue in tap-gitlab to add this feature.