🎨 pnpm lint

This commit is contained in:
Daniel 2025-02-14 10:03:03 +08:00
parent e5b799b6c5
commit 3379ba2717
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 2 additions and 2 deletions

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;

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 = () => {