Skip to content

Commit

Permalink
Remove default graph option
Browse files Browse the repository at this point in the history
  • Loading branch information
pietercolpaert committed Apr 3, 2024
1 parent fd9aede commit b7f5180
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/CBDShapeExtractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ class DereferenceNeeded {
}

type CBDShapeExtractorOptions = {
cbdDefaultGraph: boolean;
fetch?: typeof fetch;
};

Expand All @@ -43,7 +42,7 @@ export class CBDShapeExtractor {
options: Partial<CBDShapeExtractorOptions> = {},
) {
// Assign with default options
this.options = Object.assign({ cbdDefaultGraph: false }, options);
this.options = Object.assign({}, options);

if (!dereferencer) {
this.dereferencer = rdfDereference;
Expand Down

0 comments on commit b7f5180

Please sign in to comment.