Skip to content

Commit

Permalink
. d updated markdown snippets & formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed May 20, 2024
1 parent 2ea5249 commit 871f387
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
1 change: 0 additions & 1 deletion lib/Providers/Jest/JestReporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { expect } from "@jest/globals";
import type { ApprovalFailureReporter } from "../../Core/ApprovalFailureReporter";
import fs from "fs";


export class JestReporter implements ApprovalFailureReporter {
name: string = "JestReporter";

Expand Down
4 changes: 2 additions & 2 deletions lib/Reporting/Reporters/copycommandReporter.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Reporter } from "../../Core/Reporter";
import {execSync} from "node:child_process";
import { execSync } from "node:child_process";

export default class CopyCommandReporter implements Reporter {
public name: string;
Expand Down Expand Up @@ -35,7 +35,7 @@ export default class CopyCommandReporter implements Reporter {
"'" + receivedFilePath + "' '" + approvedFilePath + "'";

if (selectedPrograms) {
execSync(selectedPrograms.clipboard, {
execSync(selectedPrograms.clipboard, {
input: selectedPrograms.fileCopy + " " + copyFragment,
});
} else {
Expand Down
7 changes: 3 additions & 4 deletions lib/Reporting/Reporters/multiReporter.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Reporter } from "../../Core/Reporter";
import {ReporterFactory} from "../ReporterFactory";
import { ReporterFactory } from "../ReporterFactory";

export default class MultiReporter implements Reporter{
export default class MultiReporter implements Reporter {
private reporters: Reporter[];
public name: string;
constructor(reporters) {
Expand All @@ -10,8 +10,7 @@ export default class MultiReporter implements Reporter{
throw new Error("reporters arguments is not an array of reporters");
}

this.reporters =
ReporterFactory.loadAllReporters(reporters);
this.reporters = ReporterFactory.loadAllReporters(reporters);

this.name =
"Multi (" +
Expand Down

0 comments on commit 871f387

Please sign in to comment.