Upgrading eslint
This commit is contained in:
parent
220c9433d1
commit
3e91a79078
20 changed files with 835 additions and 1641 deletions
|
@ -116,7 +116,7 @@ export class Group implements Movable {
|
|||
leave(user: User): void {
|
||||
const success = this.users.delete(user);
|
||||
if (success === false) {
|
||||
throw new Error("Could not find user " + user.id + " in the group " + this.id);
|
||||
throw new Error(`Could not find user ${user.id} in the group ${this.id}`);
|
||||
}
|
||||
user.group = undefined;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue