Bug 1508660 - Fix eslint issue from rebase r=ochameau CLOSED TREE

This commit is contained in:
Yulia Startsev 2018-12-17 05:55:00 +02:00
Родитель 3dd7393356
Коммит 020c286b42
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -391,7 +391,7 @@ Target.prototype = {
// Get a Front for a target-scoped actor.
// i.e. an actor served by RootActor.listTabs or RootActorActor.getTab requests
getFront(typeName) {
async getFront(typeName) {
let front = this.fronts.get(typeName);
// the front might have been destroyed and no longer have an actor ID
if (front && front.actorID || front && typeof front.then === "function") {