Skip to content

Commit

Permalink
alos log the warning about abbreviated names
Browse files Browse the repository at this point in the history
  • Loading branch information
nleanba committed Mar 6, 2024
1 parent 7355a24 commit 35ad6ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gg2rdf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -631,6 +631,7 @@ export function gg2rdf(
s.addProperty(`dwc:${n}`, STR(normalizeSpace(attr)));
if ((attr + "").includes(".")) {
s.addProperty("# Warning:", `abbreviated ${n} ${STR(attr)}`);
if (!rankLimit) log(`Warning: abbreviated ${n} ${STR(attr)}`);
}
nextRankLimit = n;
}
Expand Down

0 comments on commit 35ad6ff

Please sign in to comment.