mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-30 00:48:36 +08:00
Added ignore
This commit is contained in:
1
main.ts
1
main.ts
@@ -95,6 +95,7 @@ export default class MyPlugin extends Plugin {
|
|||||||
const nowFile = app.workspace.getActiveFile();
|
const nowFile = app.workspace.getActiveFile();
|
||||||
if (nowFile) {
|
if (nowFile) {
|
||||||
const filePath: string = nowFile.path;
|
const filePath: string = nowFile.path;
|
||||||
|
// @ts-ignore
|
||||||
const basePath: string = nowFile.vault.adapter.basePath;
|
const basePath: string = nowFile.vault.adapter.basePath;
|
||||||
const fullPath = join(basePath, filePath);
|
const fullPath = join(basePath, filePath);
|
||||||
console.log("fullpath", fullPath);
|
console.log("fullpath", fullPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user