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 2e02265
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 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 Expand Up @@ -201,7 +202,7 @@ export class CppUTestRunnable extends AbstractRunnable {
return execParams;
}

protected _getDebugParamsInner(childrenToRun: readonly Readonly<AbstractTest>[], breakOnFailure: boolean): string[] {
protected _getDebugParamsInner(childrenToRun: readonly Readonly<AbstractTest>[]): string[] {
// TODO: Proper debug options
// TODO: colouring 'debug.enableOutputColouring'
// TODO: Add multiple options
Expand Down

0 comments on commit 2e02265

Please sign in to comment.