mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 18:19:25 +00:00
Remove dangling commas
This commit is contained in:
@@ -88,7 +88,7 @@ class Class {
|
||||
const [
|
||||
teachers,
|
||||
students,
|
||||
subject,
|
||||
subject
|
||||
] = await Promise.all([
|
||||
this.getTeachers(),
|
||||
this.getStudents(),
|
||||
|
||||
@@ -185,7 +185,7 @@ class EmailBuilder {
|
||||
cc: `${this.#cc.join(',')}`,
|
||||
bcc: `${this.#bcc.join(',')}`,
|
||||
subject: this.#subject,
|
||||
text: this.#body,
|
||||
text: this.#body
|
||||
};
|
||||
|
||||
try {
|
||||
|
||||
@@ -33,7 +33,7 @@ class Subject {
|
||||
|
||||
return (async () => {
|
||||
const record = await this.#conn.runQuery(sql, [
|
||||
subjectId,
|
||||
subjectId
|
||||
]);
|
||||
|
||||
if (!record.length)
|
||||
|
||||
@@ -83,7 +83,7 @@ class Test {
|
||||
|
||||
return (async () => {
|
||||
const record = await this.#conn.runQuery(sql, [
|
||||
testId,
|
||||
testId
|
||||
]);
|
||||
|
||||
if (!record.length)
|
||||
|
||||
@@ -67,7 +67,7 @@ class TestTemplate {
|
||||
|
||||
return (async () => {
|
||||
const record = await this.#conn.runQuery(sql, [
|
||||
testTemplateId,
|
||||
testTemplateId
|
||||
]);
|
||||
|
||||
if (!record.length)
|
||||
|
||||
@@ -125,7 +125,7 @@ describe('validate', () => {
|
||||
};
|
||||
|
||||
const fields = [
|
||||
'name',
|
||||
'name'
|
||||
];
|
||||
|
||||
const result = validator.validate(body, fields);
|
||||
|
||||
Reference in New Issue
Block a user