Skip to content

Commit fc616ca

Browse files
changes
1 parent 01e4bdd commit fc616ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/terminal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const cbterminal = {
1919
* @param {string} command - The command to be executed.
2020
* @returns {Promise<CommandOutput|CommandError>} A promise that resolves with the command's output, error, or finish signal.
2121
*/
22-
executeCommand: async (command:string, returnEmptyStringOnSuccess = false) => {
22+
executeCommand: async (command:string, returnEmptyStringOnSuccess:boolean = false) => {
2323
return new Promise((resolve, reject) => {
2424
cbws.getWebsocket.send(JSON.stringify({
2525
"type": "executeCommand",
@@ -34,7 +34,7 @@ const cbterminal = {
3434
}
3535
});
3636
});
37-
},,
37+
},
3838

3939
/**
4040
* Executes a given command and keeps running until an error occurs.

0 commit comments

Comments
 (0)