mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
0.28.2 release. Fixed change of kinds of variables for dead code with deadCodeInjection option
This commit is contained in:
@@ -59,6 +59,15 @@ export class BlockStatementDeadCodeInjectionNode extends AbstractCustomNode {
|
||||
this.deadCodeInjectionRootAstHostNode = deadCodeInjectionRootAstHostNode;
|
||||
}
|
||||
|
||||
/**
|
||||
* Have to override parent method to prevent a change of kinds of variables
|
||||
*
|
||||
* @returns {TStatement[]}
|
||||
*/
|
||||
public getNode (): TStatement[] {
|
||||
return this.getNodeStructure();
|
||||
}
|
||||
|
||||
/**
|
||||
* @returns {TStatement[]}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user