mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-29 16:35:57 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c701acbfaa | ||
|
|
d8c755cfce |
1
main.ts
1
main.ts
@@ -95,6 +95,7 @@ export default class MyPlugin extends Plugin {
|
||||
const nowFile = app.workspace.getActiveFile();
|
||||
if (nowFile) {
|
||||
const filePath: string = nowFile.path;
|
||||
// @ts-ignore
|
||||
const basePath: string = nowFile.vault.adapter.basePath;
|
||||
const fullPath = join(basePath, filePath);
|
||||
console.log("fullpath", fullPath);
|
||||
|
||||
2892
package-lock.json
generated
2892
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user