Skip to content

Commit

Permalink
show self-update disabled message if self-update feature is not enabl…
Browse files Browse the repository at this point in the history
…ed and the user attempts to use the `--update` option

[skip ci]
  • Loading branch information
jqnatividad committed Jul 29, 2024
1 parent 1d4b2bd commit 5c874e0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -907,6 +907,7 @@ Self-update only works with prebuilt binaries released on GitHub https://github.

#[cfg(not(feature = "self_update"))]
pub const fn qsv_check_for_update(_check_only: bool, _no_confirm: bool) -> Result<bool, String> {
winfo!("Self-update is disabled in this build.");
Ok(true)
}

Expand Down

0 comments on commit 5c874e0

Please sign in to comment.