Skip to content

Commit d3a0d1d

Browse files
committed
fix(sketch): update test command and disable RUN in sketch mode #331
- Update test command in sketch.vm to use `python3` explicitly
1 parent a4ff169 commit d3a0d1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

core/src/main/kotlin/cc/unitmesh/devti/devin/dataprovider/BuiltinCommand.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ enum class BuiltinCommand(
5454
AllIcons.Vcs.Patch_file,
5555
false
5656
),
57-
RUN("run", "Run the IDE's built-in command, like build tool, test.", AllIcons.Actions.Execute, true, true),
57+
RUN("run", "Run the IDE's built-in command, like build tool, test.", AllIcons.Actions.Execute, true, true, enableInSketch = false),
5858
SHELL(
5959
"shell",
6060
"Execute a shell command and collect (ProcessBuild) the result",

core/src/main/resources/genius/en/code/sketch.vm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ Index: src/main/index.html
151151
</devin>
152152
// step 4.2, run test code
153153
<devin>
154-
/run:src/test/test_routes.py
154+
python3 src/test/test_routes.py
155155
</devin>
156156

157157
// step 5.1, 启动、测试应用程序,验证代码变更

0 commit comments

Comments
 (0)