Closed ericprud closed 4 years ago
convertToJson's first waterfall function is expected to get called repeatedly. Apparently async's waterfall expects a single invocation. I moved the second callback into the first:
n3Parser.parse(n3String, function (error, quad, prefix) { if (error) { throw error; } else if (quad !== null) { n3Writer.addQuad(quad); } else { n3Writer.end(callback); } });
https://github.com/linkeddata/rdflib.js/issues/364#issuecomment-584894816
+1
Could we get this merged, as it's currently preventing RDF -> JSON-LD conversion from working?
@ericprud has committed a fix for the requested changes - @RubenVerborgh are you ok with the fix?
convertToJson's first waterfall function is expected to get called repeatedly. Apparently async's waterfall expects a single invocation. I moved the second callback into the first:
https://github.com/linkeddata/rdflib.js/issues/364#issuecomment-584894816