Skip to content

Commit

Permalink
minor: editor is already available as a variable in scope
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Sep 19, 2023
1 parent e9e3859 commit d2c27f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/validations/help_request.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function validationHelpRequest(context) {
if (entity.version === undefined) return [];

if (entity.v !== undefined) {
const baseEntity = context.systems.editor.base().hasEntity(entity.id);
const baseEntity = editor.base().hasEntity(entity.id);
// don't flag fixmes added by the user on existing features
if (!baseEntity || !baseEntity.tags.fixme) return [];
}
Expand Down

0 comments on commit d2c27f0

Please sign in to comment.