Skip to content

Commit

Permalink
fix null check
Browse files Browse the repository at this point in the history
Signed-off-by: conanoc <conanoc@gmail.com>
  • Loading branch information
conanoc committed Feb 23, 2024
1 parent 8d8d8ba commit fd51c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ariesframework/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ if (secretPropsFile.exists()) {
ext["version"] = System.getenv("VERSION")
}

ext["version"] = ext["version"].replaceFirst("v", "")
ext["version"] = ext["version"]?.replaceFirst("v", "")

def getExtraString(name) {
try {
Expand Down

0 comments on commit fd51c43

Please sign in to comment.