Skip to content

Commit 4904db7

Browse files
committed
Remove not needed callback arguments 💀
1 parent fcfdef3 commit 4904db7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ GitRevisionPlugin.prototype.apply = function (compiler) {
2727
)
2828
}
2929

30-
GitRevisionPlugin.prototype.commithash = function (callback) {
30+
GitRevisionPlugin.prototype.commithash = function () {
3131
return runGitCommand(
3232
this.gitWorkTree,
3333
this.commithashCommand
3434
)
3535
}
3636

37-
GitRevisionPlugin.prototype.version = function (callback) {
37+
GitRevisionPlugin.prototype.version = function () {
3838
return runGitCommand(
3939
this.gitWorkTree,
4040
this.versionCommand + (this.lightweightTags ? ' --tags' : '')

0 commit comments

Comments
 (0)