File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,9 @@ export default function () {
22 const Analizer = { } ;
33
44 Analizer . checkType = function ( targetName , code ) {
5- let type ;
5+ let type = null ;
66
7- if ( typeof type != "string" ) return type ;
7+ if ( typeof code != "string" ) return type ;
88
99 switch ( true ) {
1010 case ! ! code . match ( new RegExp ( `${ targetName } \\[[0-9]+\\]` ) ) :
Original file line number Diff line number Diff line change @@ -80,12 +80,14 @@ export default {
8080 this .$refs .alert .hide ();
8181
8282 const type = this .analizer .checkType (this .targetName , this .mainCode );
83- if (! type)
83+ if (type === null ) {
8484 return this .$refs .alert .showAlert (
8585 " danger" ,
8686 " [Error]" ,
8787 " Invalid obfuscation type! Please report to us or try again."
88- );
88+ ),
89+ this .running = false ;
90+ }
8991
9092 this .changeProgress (100 );
9193
You can’t perform that action at this time.
0 commit comments