mirror of https://gitee.com/bigwinds/arangodb
Fix typo.
This commit is contained in:
parent
25b75bd75c
commit
677b35fb05
|
@ -786,7 +786,9 @@ function runInArangosh (options, instanceInfo, file, addArgs) {
|
|||
catch(x) {
|
||||
return rc;
|
||||
}
|
||||
if (result[0].HasOwnProperty('status')) {
|
||||
print(result);
|
||||
if ((typeof(result[0]) === 'object') &&
|
||||
result[0].hasOwnProperty('status')) {
|
||||
return result[0];
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue