mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
style(data_dir): fix indentation
This commit is contained in:
@@ -35,9 +35,9 @@ function getPlatformAppDataDir(platform: ReturnType<typeof os.platform>, ENV_APP
|
||||
}
|
||||
|
||||
function createDirIfNotExisting(path: fs.PathLike, permissionMode: fs.Mode = FOLDER_PERMISSIONS) {
|
||||
if (!fs.existsSync(path)) {
|
||||
fs.mkdirSync(path, permissionMode);
|
||||
}
|
||||
if (!fs.existsSync(path)) {
|
||||
fs.mkdirSync(path, permissionMode);
|
||||
}
|
||||
}
|
||||
|
||||
function getTriliumDataDir() {
|
||||
|
||||
Reference in New Issue
Block a user