diff options
author | bobzel <zzzman@gmail.com> | 2025-03-16 19:02:56 -0400 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2025-03-16 19:02:56 -0400 |
commit | df708c90d8356934d2e3d9123129c761d328c1fe (patch) | |
tree | 98b0588710ac8ca00c303960da0851614aacf597 /src/client/views/ScriptingRepl.tsx | |
parent | 7d9fae09e8906e5636f6ea695ad560797b08d023 (diff) | |
parent | f4042257be7359734a0dd35cedbf03fe4aa14cf1 (diff) |
Merge branch 'DocCreatorMenu-work' of https://github.com/brown-dash/Dash-Web into DocCreatorMenu-work
Diffstat (limited to 'src/client/views/ScriptingRepl.tsx')
-rw-r--r-- | src/client/views/ScriptingRepl.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/ScriptingRepl.tsx b/src/client/views/ScriptingRepl.tsx index e413c13e2..8ab91a6b5 100644 --- a/src/client/views/ScriptingRepl.tsx +++ b/src/client/views/ScriptingRepl.tsx @@ -181,7 +181,7 @@ export class ScriptingRepl extends ObservableReactComponent<object> { this.maybeScrollToBottom(); return; } - const result = undoable(() => script.run({}, err => this.commands.push({ command: this.commandString, result: err })), 'run:' + this.commandString)(); + const result = undoable(() => script.run({}, err => this.commands.push({ command: this.commandString, result: err as string })), 'run:' + this.commandString)(); if (result.success) { this.commands.push({ command: this.commandString, result: result.result }); this.commandsHistory.push(this.commandString); |