mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
refactoring
This commit is contained in:
@@ -45,7 +45,7 @@ export class CatchClauseObfuscator extends NodeObfuscator {
|
||||
private replaceCatchClauseParamInBlockStatement (catchClauseNode: ICatchClauseNode): void {
|
||||
estraverse.replace(catchClauseNode.body, {
|
||||
leave: (node: INode, parentNode: INode): any => {
|
||||
this.replaceNodeIdentifierWithNewValue(node, parentNode, this.catchClauseParam);
|
||||
this.replaceIdentifiersWithValuesFromNamesMap(node, parentNode, this.catchClauseParam);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user