Skip to content

Commit 77def35

Browse files
committed
refactor: remove unused baseDir variable from StructureInCommand
1 parent 0416beb commit 77def35

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

exts/devins-lang/src/main/kotlin/cc/unitmesh/devti/language/compiler/exec/StructureInCommand.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class StructureInCommand(val myProject: Project, val prop: String) : InsCommand
3737
} ?: return null
3838

3939
val structure = StructureCommandUtil.getFileStructure(myProject, virtualFile, psiFile)
40-
val baseDir = myProject.guessProjectDir().toString()
4140
val filepath = virtualFile.relativePath(myProject)
4241
return "// $filepath\n```\n$structure\n```"
4342
}

0 commit comments

Comments
 (0)