We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01e4bdd commit fc616caCopy full SHA for fc616ca
src/modules/terminal.ts
@@ -19,7 +19,7 @@ const cbterminal = {
19
* @param {string} command - The command to be executed.
20
* @returns {Promise<CommandOutput|CommandError>} A promise that resolves with the command's output, error, or finish signal.
21
*/
22
- executeCommand: async (command:string, returnEmptyStringOnSuccess = false) => {
+ executeCommand: async (command:string, returnEmptyStringOnSuccess:boolean = false) => {
23
return new Promise((resolve, reject) => {
24
cbws.getWebsocket.send(JSON.stringify({
25
"type": "executeCommand",
@@ -34,7 +34,7 @@ const cbterminal = {
34
}
35
});
36
37
- },,
+ },
38
39
/**
40
* Executes a given command and keeps running until an error occurs.
0 commit comments