Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rusthero authored Feb 20, 2023
1 parent e5ebbc2 commit ff4595b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@
We can easily get the version for latest release of this repository `version-checker` owned by me, `rusthero`.
```Java
public static void main(String[] args) throws IOException, ReleaseOrRepoNotFoundException, RateLimitExceededException {
Version currentVersion = new Version("1.1.0");

GitHubVersionChecker versionChecker = new GitHubVersionChecker("rusthero", "version-checker");
Version currentVersion = new Version("1.1.0");

versionChecker.ifOutdatedVersion(currentVersion, version -> System.out.println("README file is outdated!"));
}
```
Expand Down

0 comments on commit ff4595b

Please sign in to comment.