Skip to content

Commit

Permalink
chore: more explicit export
Browse files Browse the repository at this point in the history
  • Loading branch information
bergos committed Jul 5, 2021
1 parent e5d1bee commit 5af4130
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/rdf/mapMatch.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import rdf from 'rdf-ext'
import { Transform } from 'readable-stream'
import PatternMatcher from './lib/PatternMatcher.js'

export default function mapMatch ({ map, subject, predicate, object, graph }) {
function mapMatch ({ map, subject, predicate, object, graph }) {
const matcher = new PatternMatcher({ subject, predicate, object, graph })

return new Transform({
Expand All @@ -21,3 +21,5 @@ export default function mapMatch ({ map, subject, predicate, object, graph }) {
}
})
}

export default mapMatch

0 comments on commit 5af4130

Please sign in to comment.