Skip to content

Commit

Permalink
Fix the pre-release checking code
Browse files Browse the repository at this point in the history
  • Loading branch information
jmshal committed Feb 24, 2016
1 parent 77a643d commit a2fe1ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public CheckForUpdatesTask (MelooonCensor plugin, Client bugsnag) {
this.plugin = plugin;
this.bugsnag = bugsnag;
this.version = Version.valueOf(plugin.getDescription().getVersion());
this.isRunningPreRelease = this.version.getPreReleaseVersion() != null;
this.isRunningPreRelease = ! this.version.getPreReleaseVersion().isEmpty();
}

@Override
Expand Down

0 comments on commit a2fe1ab

Please sign in to comment.