Skip to content

Commit 72944b4

Browse files
author
Dmitry Tretyakov
committed
Refactor code
1 parent 4b41280 commit 72944b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def getGitHubCommit = {
2020
}
2121

2222
gitVersionName = hashOutput.asText.get().trim().substring(0, 7)
23-
if (!changeOutput.toString().trim().empty) {
23+
if (!changeOutput.asText.get().trim().empty) {
2424
def pattern = Pattern.compile("\\d+");
2525
def matcher = pattern.matcher(changeOutput.asText.get().trim())
2626
if (matcher.find()) {

0 commit comments

Comments
 (0)