fix(core): update
This commit is contained in:
@@ -172,4 +172,15 @@ export class GitRepo {
|
||||
|
||||
return diffs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all commit messages
|
||||
*/
|
||||
public async getAllCommitMessages(): Promise<string[]> {
|
||||
const commits = await plugins.isomorphicGit.log({
|
||||
fs: this.smartgitRef.envDeps.fs,
|
||||
dir: this.repoDir,
|
||||
});
|
||||
return commits.map(commit => commit.commit.message);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user