Skip to content

Commit

Permalink
fix: Remove most leftover dbg prints (#803)
Browse files Browse the repository at this point in the history
Removes all but one leftover `dbg!()` prints.
The remaining one is in a function that is yet to be implemented.
  • Loading branch information
GeckoEidechse authored Feb 13, 2024
1 parent 83054ca commit 00196d2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src-tauri/src/github/pull_requests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,6 @@ pub async fn get_launcher_download_link(commit_sha: String) -> Result<String, St
for artifact in artifacts_response.artifacts {
// Make sure artifact and CI run commit head sha match
if artifact.workflow_run.head_sha == workflow_run.head_sha {
dbg!(artifact.id);

// Download artifact
return Ok(format!("https://nightly.link/R2Northstar/NorthstarLauncher/actions/artifacts/{}.zip", artifact.id));
}
Expand Down
2 changes: 0 additions & 2 deletions src-tauri/src/mod_management/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ async fn get_ns_mod_download_url(thunderstore_mod_string: &str) -> Result<String
// Iterate over all versions of a given mod
for ns_mod in ns_mod.versions.values() {
if ns_mod.url.contains(&ts_mod_string_url) {
dbg!(ns_mod.clone());
return Ok(ns_mod.url.clone());
}
}
Expand All @@ -437,7 +436,6 @@ async fn get_mod_dependencies(thunderstore_mod_string: &str) -> Result<Vec<Strin
// Iterate over all versions of a given mod
for ns_mod in ns_mod.versions.values() {
if ns_mod.url.contains(&ts_mod_string_url) {
dbg!(ns_mod.clone());
return Ok(ns_mod.deps.clone());
}
}
Expand Down
1 change: 0 additions & 1 deletion src-tauri/src/repair_and_verify/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ pub fn clean_up_download_folder(
Ok(contents) => contents,
Err(_) => continue,
};
// dbg!(download_dir_contents);

let mut count = 0;
download_dir_contents.for_each(|_| count += 1);
Expand Down

0 comments on commit 00196d2

Please sign in to comment.