Skip to content

Commit 0c0aa71

Browse files
authoredNov 18, 2024··
fix: adds dotnet 9 to smoke tests and removes progress indicators (#231)
1 parent f035713 commit 0c0aa71

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed
 

‎.circleci/config.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ matrix_windows_node_version: &matrix_windows_node_version
2929
node_version: [ "16.20.0", "18.16.0", "20.3.1" ]
3030

3131
matrix_dotnet_version: &matrix_dotnet_version
32-
dotnet_version: [ "8.0", "7.0", "6.0" ]
32+
dotnet_version: [ "9.0", "8.0", "7.0", "6.0" ]
3333

3434
filters_branches_only_main: &filters_branches_only_main
3535
filters:
@@ -238,7 +238,7 @@ workflows:
238238
parameters:
239239
<<: *matrix_unix_node_version
240240
test_type: [ "unit" ]
241-
dotnet_version: [ "8.0" ]
241+
dotnet_version: [ "9.0" ]
242242
name: Unix Unit Tests for Node=<< matrix.node_version >>
243243
context: nodejs-install
244244
node_version: "<< matrix.node_version >>"
@@ -266,7 +266,7 @@ workflows:
266266
parameters:
267267
<<: *matrix_windows_node_version
268268
test_type: [ "unit" ]
269-
dotnet_version: [ "8.0" ]
269+
dotnet_version: [ "9.0" ]
270270
name: Windows Unit Tests for Node=<< matrix.node_version >>
271271
context: nodejs-install
272272
node_version: "<< matrix.node_version >>"

‎lib/nuget-parser/cli/dotnet.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@ export async function run(
7272
const command = 'dotnet';
7373
const args = ['run', '--project', projectPath].concat(options);
7474
const response = await handle('run', command, args);
75-
return response.stdout;
75+
const stdout = response.stdout;
76+
return stdout.slice(
77+
stdout.indexOf('{') !== -1 ? stdout.indexOf('{') : stdout.length,
78+
);
7679
}
7780

7881
export async function publish(

‎tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"compilerOptions": {
33
"outDir": "./dist",
44
"pretty": true,
5-
"target": "es2019",
5+
"target": "es2021",
66
"module": "commonjs",
77
"sourceMap": true,
88
"declaration": true,

0 commit comments

Comments
 (0)
Please sign in to comment.