mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
moving from format-unicorn on string-template package
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import 'format-unicorn';
|
||||
import * as format from 'string-template';
|
||||
|
||||
import { TNodeWithBlockStatement } from '../../types/TNodeWithBlockStatement';
|
||||
import { TStatement } from '../../types/TStatement';
|
||||
@@ -74,7 +74,7 @@ export class StringArrayNode extends AbstractCustomNode {
|
||||
* @returns {string}
|
||||
*/
|
||||
public getCode (): string {
|
||||
return StringArrayTemplate().formatUnicorn({
|
||||
return format(StringArrayTemplate(), {
|
||||
stringArrayName: this.stringArrayName,
|
||||
stringArray: this.stringArray.toString()
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user