Skip to content

Commit d176a90

Browse files
committed
Merge branch 'main' of https://github.com/mathworks/MATLAB-extension-for-vscode into dklilley/release/1.3.1
2 parents 55c74f1 + 14fec1a commit d176a90

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/test-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
fail-fast: false
1919
matrix:
2020
version: [R2021b, R2022a, R2022b, latest]
21-
os: [windows-latest, ubuntu-latest, macos-latest]
21+
os: [windows-latest, ubuntu-latest, macos-13]
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@v4

.github/workflows/test-pull-request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
version: [R2021b, R2022a, R2022b, latest]
22-
os: [windows-latest, ubuntu-latest, macos-latest]
22+
os: [windows-latest, ubuntu-latest, macos-13]
2323
steps:
2424
- name: Checkout
2525
uses: actions/checkout@v4

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
version: [R2021b, R2022a, R2022b, latest]
22-
os: [windows-latest, ubuntu-latest, macos-latest]
22+
os: [windows-latest, ubuntu-latest, macos-13]
2323
steps:
2424
- name: Checkout
2525
uses: actions/checkout@v4

src/test/tools/tester/TerminalTester.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ export class TerminalTester {
1919
* Execute a command in the MATLAB terminal
2020
*/
2121
public async executeCommand (command: string): Promise<void> {
22-
return await this.terminal.executeCommand(command);
22+
if (command.endsWith('clc')) {
23+
return await this.terminal.executeCommand(`${command}, disp(' ')`); // workaround since clc is broken in 22b
24+
}
25+
return await this.terminal.executeCommand(command)
2326
}
2427

2528
/**

0 commit comments

Comments
 (0)