Skip to content

Commit

Permalink
fix: use spaces when outputting graphs to console
Browse files Browse the repository at this point in the history
  • Loading branch information
Yagnap committed Nov 13, 2024
1 parent 66a8a75 commit 73a78cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/loadGraphFromSparql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ async function createNodes(from: string, instances: boolean): Promise<Array<Elem
loadGraphFromSparql(cy,new Set(["meta","bb"]))
*/
export async function loadGraphFromSparql(cy: Core, graphs: Array<string>, instances: boolean = false, virtual: boolean = false): Promise<void> {
log.debug(`Loading graph from endpoint ${config.ontology.sparql.endpoint} with graphs ${graphs}.`);
log.debug(`Loading graph from endpoint ${config.ontology.sparql.endpoint} with graphs ${graphs.join(",")}.`);
const from = graphs.map((g) => `FROM <${g}>`).reduce((a, b) => a + "\n" + b, "");
const fromNamed = from.replace(/FROM/g, "FROM NAMED");

Expand Down

0 comments on commit 73a78cc

Please sign in to comment.