mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-19 02:10:04 +08:00
style(data_dir): fix indentation
This commit is contained in:
parent
7a1e8714af
commit
759d24855b
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user