Skip to content

Commit

Permalink
build: fix build, getEnv -> getProperty
Browse files Browse the repository at this point in the history
  • Loading branch information
WiIIiam278 committed Oct 3, 2024
1 parent 42efced commit 02685f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ logger.lifecycle("Building HuskSync ${version} by William278 for Minecraft ${min
@SuppressWarnings('GrMethodMayBeStatic')
def versionMetadata() {
// If the force-hide-version-meta environment variable is set, return ''
if (System.getenv('force-hide-version-meta') != null) {
if (System.getProperty('force-hide-version-meta') != null) {
return ''
}

Expand Down

0 comments on commit 02685f5

Please sign in to comment.