Skip to content
This repository was archived by the owner on Jan 24, 2025. It is now read-only.

Commit e847a72

Browse files
committed
fixed compile error
1 parent 40da74c commit e847a72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default class PythonScripterPlugin extends Plugin {
5757
const obsidianCommand = {
5858
id: "run-"+files[index],
5959
name: 'Run '+files[index],
60-
callback: (editor: Editor) => {
60+
callback: () => {
6161
fs.stat(filePath, (err: any, stats: { isFile: () => any; isDirectory: () => any; }) => {
6262
if (err) {
6363
console.error(err);

0 commit comments

Comments
 (0)