1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

CI: Trying to fix website builder

This commit is contained in:
Laurent Cozic
2023-04-04 17:01:34 +02:00
parent 572701d9a0
commit 659c851960
2 changed files with 22 additions and 21 deletions

View File

@ -21,6 +21,10 @@ export function credentialDir() {
throw new Error(`Could not find credential directory in any of these paths: ${JSON.stringify(toTry)}`);
}
export const hasCredentialFile = (filename: string) => {
return pathExistsSync(filename);
};
export function credentialFile(filename: string) {
const rootDir = credentialDir();
const output = `${rootDir}/${filename}`;