You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
CI: Trying to fix website builder
This commit is contained in:
@@ -22,7 +22,14 @@ export function credentialDir() {
|
||||
}
|
||||
|
||||
export const hasCredentialFile = (filename: string) => {
|
||||
return pathExistsSync(`${credentialDir()}/${filename}`);
|
||||
let d = '';
|
||||
try {
|
||||
d = credentialDir();
|
||||
} catch (error) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return pathExistsSync(`${d}/${filename}`);
|
||||
};
|
||||
|
||||
export function credentialFile(filename: string) {
|
||||
|
||||
Reference in New Issue
Block a user