Skip to content

Commit

Permalink
bruh
Browse files Browse the repository at this point in the history
  • Loading branch information
mxve committed Sep 6, 2024
1 parent 8d68e85 commit 76fd1c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/iw4x.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ use std::fs;
use std::path::Path;

pub async fn remote_revision() -> u16 {
match github::latest_tag(GH_IW4X_OWNER, GH_IW4X_OWNER).await {
match github::latest_tag(GH_IW4X_OWNER, GH_IW4X_REPO).await {
Ok(tag) => misc::rev_to_int(&tag),
Err(_) => {
crate::println_error!("Failed to get latest version for {GH_IW4X_OWNER}/{GH_IW4X_OWNER}, assuming we are up to date.");
crate::println_error!("Failed to get latest version for {GH_IW4X_OWNER}/{GH_IW4X_REPO}, assuming we are up to date.");
0
}
}
Expand Down

2 comments on commit 76fd1c6

@Tobi4s1337
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mxve
Copy link
Owner Author

@mxve mxve commented on 76fd1c6 Sep 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Raus aus meinem commit du Birne

Please sign in to comment.