1
0
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:
2022-04-19 00:22:23 +00:00
parent 52c44f298e
commit c3d3de7677
11 changed files with 28 additions and 28 deletions

View File

@@ -88,7 +88,7 @@ class Class {
const [
teachers,
students,
subject,
subject
] = await Promise.all([
this.getTeachers(),
this.getStudents(),

View File

@@ -185,7 +185,7 @@ class EmailBuilder {
cc: `${this.#cc.join(',')}`,
bcc: `${this.#bcc.join(',')}`,
subject: this.#subject,
text: this.#body,
text: this.#body
};
try {

View File

@@ -33,7 +33,7 @@ class Subject {
return (async () => {
const record = await this.#conn.runQuery(sql, [
subjectId,
subjectId
]);
if (!record.length)

View File

@@ -83,7 +83,7 @@ class Test {
return (async () => {
const record = await this.#conn.runQuery(sql, [
testId,
testId
]);
if (!record.length)

View File

@@ -67,7 +67,7 @@ class TestTemplate {
return (async () => {
const record = await this.#conn.runQuery(sql, [
testTemplateId,
testTemplateId
]);
if (!record.length)

View File

@@ -125,7 +125,7 @@ describe('validate', () => {
};
const fields = [
'name',
'name'
];
const result = validator.validate(body, fields);