Skip to content

Commit

Permalink
remove redundant check
Browse files Browse the repository at this point in the history
  • Loading branch information
halfnelson committed Nov 21, 2020
1 parent 95ca937 commit 5512b63
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default class AttributeWrapper extends BaseAttributeWrapper {
}
}

if (this.parent.node.namespace && this.parent.node.namespace == external) {
if (this.parent.node.namespace === external) {
// leave attribute case alone for elements in the "external" namespace
this.name = this.node.name;
this.metadata = this.get_metadata();
Expand Down

0 comments on commit 5512b63

Please sign in to comment.