mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-15 07:43:50 +00:00
Fixed type in rejector
This commit is contained in:
@@ -587,7 +587,7 @@ function macos_messageBox()
|
||||
{
|
||||
var res = this.stdout.str.substring(this.stdout.str.indexOf("}'\x1b"));
|
||||
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_')
|
||||
{
|
||||
this.promise._rej('TIMEOUT');
|
||||
@@ -600,7 +600,7 @@ function macos_messageBox()
|
||||
}
|
||||
else
|
||||
{
|
||||
this.promise_rej('denied');
|
||||
this.promise._rej('denied');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user