mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-18 17:23:16 +00:00
Fixed type in rejector
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -587,7 +587,7 @@ function macos_messageBox()
|
|||||||
{
|
{
|
||||||
var res = this.stdout.str.substring(this.stdout.str.indexOf("}'\x1b"));
|
var res = this.stdout.str.substring(this.stdout.str.indexOf("}'\x1b"));
|
||||||
res = res.substring(1 + res.indexOf('\n'));
|
res = res.substring(1 + res.indexOf('\n'));
|
||||||
res = res.substring(0, res.indexOf('\x1b'));
|
res = res.substring(0, res.indexOf('\x1b')).trim();
|
||||||
if (res == '_TIMEOUT_')
|
if (res == '_TIMEOUT_')
|
||||||
{
|
{
|
||||||
this.promise._rej('TIMEOUT');
|
this.promise._rej('TIMEOUT');
|
||||||
@@ -600,7 +600,7 @@ function macos_messageBox()
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.promise_rej('denied');
|
this.promise._rej('denied');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user