summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--scripts/build/compile_tsc.js2
-rw-r--r--src/util/entities/Message.ts14
-rw-r--r--src/util/entities/User.ts2
3 files changed, 15 insertions, 3 deletions
diff --git a/scripts/build/compile_tsc.js b/scripts/build/compile_tsc.js
index e3bf8079..b2e6ca47 100644
--- a/scripts/build/compile_tsc.js
+++ b/scripts/build/compile_tsc.js
@@ -43,6 +43,6 @@ module.exports = function (config) {
 				error.stdout.replaceAll(/[\u001b\u009b][[()#;?]*(?:[0-9]{1,4}(?:;[0-9]{0,4})*)?[0-9A-ORZcf-nqry=><]/g, "")
 			);
 		}
-		if(config.throwOnError) throw error;
+		if (config.throwOnError) throw error;
 	}
 };
diff --git a/src/util/entities/Message.ts b/src/util/entities/Message.ts
index 5af3d50d..ede98274 100644
--- a/src/util/entities/Message.ts
+++ b/src/util/entities/Message.ts
@@ -1,4 +1,16 @@
-import { Column, CreateDateColumn, Entity, Index, JoinColumn, JoinTable, ManyToMany, ManyToOne, OneToMany, Relation, RelationId } from "typeorm";
+import {
+	Column,
+	CreateDateColumn,
+	Entity,
+	Index,
+	JoinColumn,
+	JoinTable,
+	ManyToMany,
+	ManyToOne,
+	OneToMany,
+	Relation,
+	RelationId
+} from "typeorm";
 import { InteractionType } from "../interfaces/Interaction";
 import { Application } from "./Application";
 import { Attachment } from "./Attachment";
diff --git a/src/util/entities/User.ts b/src/util/entities/User.ts
index bf27fc11..3e1399c3 100644
--- a/src/util/entities/User.ts
+++ b/src/util/entities/User.ts
@@ -1,5 +1,5 @@
 import { Column, Entity, FindOneOptions, FindOptionsSelectByString, JoinColumn, OneToMany, OneToOne, Relation } from "typeorm";
-import { Member, Session, UserSettings } from ".";
+import { Session, UserSettings } from ".";
 import { Config, FieldErrors, Snowflake, trimSpecial } from "..";
 import { BitField } from "../util/BitField";
 import { OrmUtils } from "../util/imports/OrmUtils";