mirror of
https://github.com/erg-lang/erg.git
synced 2025-08-04 18:58:30 +00:00
chore: fix warnings
This commit is contained in:
parent
f489df2630
commit
5cf3acbf16
4 changed files with 37 additions and 12 deletions
|
@ -725,6 +725,7 @@ pub trait Runnable: Sized + Default + New {
|
|||
self.cfg_mut().input = input;
|
||||
}
|
||||
fn start_message(&self) -> String {
|
||||
#[allow(clippy::const_is_empty)]
|
||||
if GIT_HASH_SHORT.is_empty() {
|
||||
format!("{} {SEMVER} ({BUILD_DATE}) on {ARCH}/{OS}\n", Self::NAME)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue