fix lint error: redef of promise
2.8.2