Skip to content

Commit c5ac441

Browse files
authored
fix: use project directory when building engine (#203)
Use project root as working directory when building engine so asdf resolves to the correct Elixir/OTP version from .tool-versions.
1 parent 9d00a88 commit c5ac441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/expert/lib/expert/engine_node.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ defmodule Expert.EngineNode do
207207
Expert.vsn()
208208
],
209209
env: Expert.Port.ensure_charlists(env),
210-
cd: engine_source
210+
cd: Project.root_path(project)
211211
]
212212

213213
launcher = Expert.Port.path()

0 commit comments

Comments
 (0)