mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-05-02 20:37:08 +01:00
[fix] Private fields: Resolve off-by-one error.
This commit is contained in:
4
dist/core/abstract-resume.js
vendored
4
dist/core/abstract-resume.js
vendored
@ -83,10 +83,10 @@ Definition of the AbstractResume class.
|
||||
if (!this.isLeaf) {
|
||||
if (this.node.ignore === true || this.node.ignore === 'true') {
|
||||
ignoreList.push(this.node);
|
||||
return this.remove();
|
||||
this["delete"]();
|
||||
} else if ((this.node["private"] === true || this.node["private"] === 'true') && !includePrivates) {
|
||||
privateList.push(this.node);
|
||||
return this.remove();
|
||||
this["delete"]();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user