Skip to content

Commit edc3eed

Browse files
authored
Merge pull request #403 from tyeth/usb-workflow-save-and-run
Return code output for Save+Run not with code.py
2 parents aaa3368 + e72b73f commit edc3eed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

js/workflows/workflow.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,9 @@ class Workflow {
215215
} else {
216216
path = path.slice(1, -3);
217217
path = path.replace(/\//g, ".");
218-
await (this.repl.runCode("import " + path));
218+
this.repl.writeToTerminal("\r\nRunning 'import " + path + "'...\r\n");
219+
this.repl.writeToTerminal(await (this.repl.runCode("import " + path)));
220+
this.repl.writeToTerminal("\r\nCode done running.\r\n");
219221
}
220222
}
221223

0 commit comments

Comments
 (0)