revert temporary change
This commit is contained in:
parent
72c17b98fe
commit
b64c5f1fda
1 changed files with 1 additions and 2 deletions
3
repl.js
3
repl.js
|
|
@ -843,8 +843,7 @@ export class REPL {
|
||||||
// Allows for supplied python code to be run on the device via the REPL in normal mode
|
// Allows for supplied python code to be run on the device via the REPL in normal mode
|
||||||
async runCode(code, codeTimeoutMs=CODE_EXECUTION_TIMEOUT) {
|
async runCode(code, codeTimeoutMs=CODE_EXECUTION_TIMEOUT) {
|
||||||
await this.getToPrompt();
|
await this.getToPrompt();
|
||||||
let result = await this.execRawPasteMode(code + LINE_ENDING_LF, codeTimeoutMs);
|
return this.execRawPasteMode(code + LINE_ENDING_LF, codeTimeoutMs);
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Split a string up by full title start and end character sequences
|
// Split a string up by full title start and end character sequences
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue