Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

Commit d130c7e

Browse files
Merge pull request #70 from stack-spot/bugfix/path-to-execute-commands
Bug Fix: Command apply plugin in right working directory
2 parents 290077a + f0a94f5 commit d130c7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/stackspot/intellij/ui/StackSpotTerminalRunner.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class StackSpotTerminalRunner(private val project: Project) : CommandRunner {
102102
window.show()
103103
val contentManager = window.contentManager
104104
val stackSpotTab = contentManager.contents.firstOrNull { Constants.MODULE_TYPE_NAME == it.tabName }
105-
val resolvedWorkingDir = workingDir ?: project.basePath
105+
val resolvedWorkingDir = project.basePath ?: workingDir
106106
val terminalView = TerminalView.getInstance(project)
107107
if (stackSpotTab != null) {
108108
terminalView.closeTab(stackSpotTab)

0 commit comments

Comments
 (0)