Fixed linter errors

This commit is contained in:
Valdo Romao 2021-12-13 16:19:47 +00:00
parent dbbfdfb66b
commit 592e07bc4f
2 changed files with 4 additions and 2 deletions

View file

@ -76,7 +76,9 @@ export class WorkadventurePlayerCommands extends IframeApiContribution<Workadven
get userRoomToken(): string | undefined {
if (userRoomToken === undefined) {
throw new Error("User-room token not initialized yet. You should call WA.player.userRoomToken within a WA.onInit callback.");
throw new Error(
"User-room token not initialized yet. You should call WA.player.userRoomToken within a WA.onInit callback."
);
}
return userRoomToken;
}