Skip to content

Commit aedc058

Browse files
committed
Semicolons to keep the linter happy
1 parent 4c8aaf5 commit aedc058

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/validation/gridsetValidator.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class GridsetValidator extends BaseValidator {
5555
// Try to parse as XML and check for gridset structure
5656
try {
5757
const contentStr = Buffer.isBuffer(content) ? content.toString('utf-8') : content;
58-
const xml2js = getXml2js()
58+
const xml2js = getXml2js();
5959
const parser = new xml2js.Parser();
6060
const result = await parser.parseStringPromise(contentStr as string);
6161
return result && (result.gridset || result.Gridset);
@@ -122,7 +122,7 @@ export class GridsetValidator extends BaseValidator {
122122
let xmlObj: any = null;
123123
await this.add_check('xml_parse', 'valid XML', async () => {
124124
try {
125-
const xml2js = getXml2js()
125+
const xml2js = getXml2js();
126126
const parser = new xml2js.Parser();
127127
const contentStr = content.toString('utf-8');
128128
xmlObj = await parser.parseStringPromise(contentStr);
@@ -171,7 +171,7 @@ export class GridsetValidator extends BaseValidator {
171171
} else {
172172
try {
173173
const gridsetXml = await gridsetEntry.async('string');
174-
const xml2js = getXml2js()
174+
const xml2js = getXml2js();
175175
const parser = new xml2js.Parser();
176176
const xmlObj = await parser.parseStringPromise(gridsetXml);
177177
const gridset = xmlObj.gridset || xmlObj.Gridset;
@@ -194,7 +194,7 @@ export class GridsetValidator extends BaseValidator {
194194
} else {
195195
try {
196196
const settingsXml = await settingsEntry.async('string');
197-
const xml2js = getXml2js()
197+
const xml2js = getXml2js();
198198
const parser = new xml2js.Parser();
199199
const xmlObj = await parser.parseStringPromise(settingsXml);
200200
const settings =

0 commit comments

Comments
 (0)