Skip to content

Commit

Permalink
fix: Make sure matches is defined
Browse files Browse the repository at this point in the history
  • Loading branch information
smessie committed May 4, 2023
1 parent 06d140f commit 39bed77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export default class IndexRoute extends Route {
async fetchGraphs(removeN3Rules = false) {
// Remove all N3 rules from the resource.
let matches;
let matches = { rules: [], prefixes: [] };
if (removeN3Rules) {
matches = await this.removeN3RulesFromResource();
}
Expand Down

0 comments on commit 39bed77

Please sign in to comment.