🎨 pnpm lint

This commit is contained in:
Daniel
2025-02-14 10:03:03 +08:00
parent e5b799b6c5
commit 3379ba2717
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ export const isWin11 = async () => {
export const isWindows = () => {
return navigator.platform.toUpperCase().indexOf("WIN") > -1;
}
};
export const isInAndroid = () => {
return window.siyuan.config.system.container === "android" && window.JSAndroid;
+1 -1
View File
@@ -105,7 +105,7 @@ export const isLocalPath = (link: string) => {
const colonIdx = link.indexOf(":");
return 1 === colonIdx; // 冒号前面只有一个字符认为是 Windows 盘符而不是网络协议
}
return link.startsWith("/")
return link.startsWith("/");
};
export const pathPosix = () => {