Skip to content

Commit f5e952c

Browse files
committed
chore: prettier
1 parent 1b4bd58 commit f5e952c

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/proxy/actions/Action.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
import { getProxyUrl } from "../../config";
2-
import { Step } from "./Step";
1+
import { getProxyUrl } from '../../config';
2+
import { Step } from './Step';
33

44
/**
55
* Represents a commit.
66
*/
77
export interface Commit {
88
message: string;
99
committer: string;
10+
committerEmail: string;
1011
tree: string;
1112
parent: string;
1213
author: string;
@@ -45,6 +46,7 @@ class Action {
4546
message?: string;
4647
author?: string;
4748
user?: string;
49+
userEmail?: string;
4850
attestation?: string;
4951
lastStep?: Step;
5052
proxyGitPath?: string;
@@ -62,15 +64,15 @@ class Action {
6264
this.type = type;
6365
this.method = method;
6466
this.timestamp = timestamp;
65-
this.project = repo.split("/")[0];
66-
this.repoName = repo.split("/")[1];
67+
this.project = repo.split('/')[0];
68+
this.repoName = repo.split('/')[1];
6769
this.url = `${getProxyUrl()}/${repo}`;
6870
this.repo = repo;
6971
}
7072

7173
/**
7274
* Add a step to the action.
73-
* @param {Step} step
75+
* @param {Step} step
7476
*/
7577
addStep(step: Step): void {
7678
this.steps.push(step);

0 commit comments

Comments
 (0)