Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
SizaSL committed Aug 31, 2021
1 parent 97981aa commit d380609
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/framework/CppUTestRunnable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class CppUTestRunnable extends AbstractRunnable {

const reloadResult = new RunnableReloadResult();

const processTestcases = async (testsuite: any, reloadResult: RunnableReloadResult) => {
const processTestcases = async (testsuite: XmlObject, reloadResult: RunnableReloadResult): Promise<void> => {
const suiteName = testsuite.$.name;
for (let i = 0; i < testsuite.testcase.length; i++) {
if (cancellationFlag.isCancellationRequested) return;
Expand Down Expand Up @@ -79,8 +79,9 @@ export class CppUTestRunnable extends AbstractRunnable {

if (xml.testsuites !== undefined) {
for (let i = 0; i < xml.testsuites.testsuite.length; ++i) {
await processTestcases(xml.testsuites.testsuite[i], reloadResult)
.catch((err) => this._shared.log.info('Error', err));
await processTestcases(xml.testsuites.testsuite[i], reloadResult).catch(err =>
this._shared.log.info('Error', err),
);
}
} else {
await processTestcases(xml.testsuite, reloadResult);
Expand Down

0 comments on commit d380609

Please sign in to comment.