Manually fixing a weird lint bug in eslint
This commit is contained in:
parent
7dc3d9d836
commit
9d2f96b348
@ -8,7 +8,8 @@
|
|||||||
"dev": "ts-node-dev --respawn --transpileOnly ./server.ts",
|
"dev": "ts-node-dev --respawn --transpileOnly ./server.ts",
|
||||||
"prod": "tsc && node ./dist/server.js",
|
"prod": "tsc && node ./dist/server.js",
|
||||||
"test": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine.json",
|
"test": "ts-node node_modules/jasmine/bin/jasmine --config=jasmine.json",
|
||||||
"lint": "node_modules/.bin/eslint src/ . --ext .ts"
|
"lint": "node_modules/.bin/eslint src/ . --ext .ts",
|
||||||
|
"fix": "node_modules/.bin/eslint src/ . --ext .ts"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -62,7 +62,7 @@ export class Group {
|
|||||||
|
|
||||||
removeFromGroup(users: UserInterface[]): void
|
removeFromGroup(users: UserInterface[]): void
|
||||||
{
|
{
|
||||||
for(let i = 0; i < users.length; i++) {
|
for(let i = 0; i < users.length; i++){
|
||||||
let user = users[i];
|
let user = users[i];
|
||||||
const index = this.users.indexOf(user, 0);
|
const index = this.users.indexOf(user, 0);
|
||||||
if (index > -1) {
|
if (index > -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user