Skip to content

Commit befb2b4

Browse files
committed
fix: Remove console.error to pass CI linting
- Replace console.error with silent error handling - CI uses --max-warnings 0 which fails on any warnings - Version comparison errors are now handled silently Authored by: Aaron Lippold<[email protected]>
1 parent bd16ba4 commit befb2b4

File tree

1 file changed

+2
-1
lines changed
  • app/javascript/components/navbar

1 file changed

+2
-1
lines changed

app/javascript/components/navbar/App.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ export default {
142142
try {
143143
return semver.gt(latest, current);
144144
} catch (error) {
145-
console.error("Error comparing versions:", error);
145+
// Silently handle version comparison errors - likely malformed version strings
146+
// In this case, don't show the update banner
146147
return false;
147148
}
148149
},

0 commit comments

Comments
 (0)