Skip to content

Commit

Permalink
Add logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
pheyvaer committed Apr 14, 2022
1 parent bc76b03 commit d8a0e04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/abstract-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,7 @@ class AbstractGenerator {

removeUnusedDatatypes(o) {
if (o.datatype && AbstractGenerator.expandPrefix(o.datatype) === 'http://www.w3.org/1999/02/22-rdf-syntax-ns#langString' && o.language) {
Logger.info(`Datatype http://www.w3.org/1999/02/22-rdf-syntax-ns#langString is ignored when combined with language tag (${o.language}).`);
delete o.datatype;
}
}
Expand Down

0 comments on commit d8a0e04

Please sign in to comment.