Skip to content

Commit eaa57ad

Browse files
committed
revert the verison
1 parent d70fb1c commit eaa57ad

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

src/utils/versionUtils.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,8 @@ export function getVersionInfo(): VersionInfo {
2020
info['name'] = name;
2121
return info;
2222
} catch (error) {
23-
// Only warn if not in development (when running from src directory)
24-
const isDevelopment = import.meta.url.includes('/src/');
25-
if (!isDevelopment) {
26-
// eslint-disable-next-line no-console
27-
console.warn(`Failed to read version info: ${error}`);
28-
}
23+
// eslint-disable-next-line no-console
24+
console.warn(`Failed to read version info: ${error}`);
2925
return {
3026
name: name,
3127
version: '0.0.0',

0 commit comments

Comments
 (0)