Skip to content

Commit

Permalink
isMaster method trim fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafaozhan committed Oct 17, 2021
1 parent 3696777 commit 90d646c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/ProjectSettings.kt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ object ProjectSettings {
commandLine = "git rev-parse --abbrev-ref HEAD".split(" ")
standardOutput = os
}
return String(os.toByteArray()) == "master"
return String(os.toByteArray()).trim() == "master"
}
}

0 comments on commit 90d646c

Please sign in to comment.