Release Khoj version 0.6.0

Upload styles.css via release workflow
This commit is contained in:
Debanjum Singh Solanky
2023-03-31 17:50:28 +07:00
parent 8f4e5d3d83
commit 35aa06067f
8 changed files with 17 additions and 6 deletions

View File

@@ -143,6 +143,7 @@ function getIndexDirectoryFromBackendConfig(filepath: string) {
export async function createNote(name: string, newLeaf = false): Promise<void> {
try {
let pathPrefix: string
// @ts-ignore
switch (app.vault.getConfig('newFileLocation')) {
case 'current':
pathPrefix = (app.workspace.getActiveFile()?.parent.path ?? '') + '/'