Merge pull request #4012 from taosdata/hotfix/TD-1825

[TD-1825]<hotfix>: avoid error for nodejsChecker
This commit is contained in:
Shengliang Guan 2020-10-27 16:34:42 +08:00 committed by GitHub
commit b3c4ea72c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -42,8 +42,8 @@ function executeQuery(sql){
var start = new Date().getTime();
var promise = cursor.query(sql, true);
var end = new Date().getTime();
printSql(sql, promise != null,(end - start));
promise.then(function(result){
printSql(sql, result != null,(end - start));
result.pretty();
});
}