mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-09-18 16:47:05 +00:00
Keep active-file path warnings readable
This commit is contained in:
@@ -299,13 +299,9 @@ export class ModuleLog extends AbstractObsidianModule {
|
||||
}
|
||||
const oversizedPathComponents = findPathComponentsExceedingUtf8Limit(thisFile.path);
|
||||
if (oversizedPathComponents.length > 0) {
|
||||
const components = oversizedPathComponents
|
||||
.map(({ component, utf8Bytes }) => `${component} (${utf8Bytes} bytes)`)
|
||||
.join(", ");
|
||||
reasonWarn.push(
|
||||
$msg("moduleLog.pathComponentTooLong", {
|
||||
maxBytes: `${ANDROID_LINUX_PATH_COMPONENT_UTF8_WARNING_BOUNDARY}`,
|
||||
components,
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user