Skip to content

Commit cc920d3

Browse files
committedMar 2, 2024
drop unused var
1 parent 3c1dda4 commit cc920d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎modules/validations/missing_tag.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { validationIssue, validationIssueFix } from '../core/validation';
88
export function validationMissingTag(context) {
99
var type = 'missing_tag';
1010

11-
function hasDescriptiveTags(entity, graph) {
11+
function hasDescriptiveTags(entity) {
1212
var onlyAttributeKeys = ['description', 'name', 'note', 'start_date'];
1313
var entityDescriptiveKeys = Object.keys(entity.tags)
1414
.filter(function(k) {
@@ -54,7 +54,7 @@ export function validationMissingTag(context) {
5454

5555
if (Object.keys(entity.tags).length === 0) {
5656
subtype = 'any';
57-
} else if (!hasDescriptiveTags(entity, graph)) {
57+
} else if (!hasDescriptiveTags(entity)) {
5858
subtype = 'descriptive';
5959
} else if (isUntypedRelation(entity)) {
6060
subtype = 'relation_type';

0 commit comments

Comments
 (0)
Please sign in to comment.