mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-19 18:21:37 +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) {
|
function createDirIfNotExisting(path: fs.PathLike, permissionMode: fs.Mode = FOLDER_PERMISSIONS) {
|
||||||
if (!fs.existsSync(path)) {
|
if (!fs.existsSync(path)) {
|
||||||
fs.mkdirSync(path, permissionMode);
|
fs.mkdirSync(path, permissionMode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTriliumDataDir() {
|
function getTriliumDataDir() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user