fix only show version if non none

This commit is contained in:
mbecker20
2024-04-07 02:00:17 -07:00
parent 592af39550
commit 42c769ed56
4 changed files with 11 additions and 52 deletions

View File

@@ -52,3 +52,7 @@ function keep_line(line: string) {
if (line[firstIndex] === "#") return false;
return true;
}
export function version_is_none({ major, minor, patch }: Types.Version) {
return major === 0 && minor === 0 && patch === 0;
}