Skip to content

Commit

Permalink
refactor: [#196] remove deprecated comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanramosnet authored and nautilus-cyberneering-bot committed May 11, 2022
1 parent aa9089c commit 8b070a2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions src/git-repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ export class GitRepo {
commitMessage: CommitMessage,
commitOptions: CommitOptions
): Promise<CommitResult> {
// TODO: Code Review. Should we use our own CommitResult class?
// We could return always the 40-character commit hash with:
// const longCommit = await git.show([commit, '--pretty=%H', '-s']);
// Related issue: https://github.com/steveukx/git-js/issues/757
return await this.git.commit(
commitMessage.forSimpleGit(),
commitOptions.forSimpleGit()
Expand Down

0 comments on commit 8b070a2

Please sign in to comment.