Skip to content

Commit c0bad5b

Browse files
committed
fix: CI failures — VS Extension onProgress→onPoll, exclude fixture .tsx from typecheck
1 parent 0014c3c commit c0bad5b

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

packages/b2c-tooling-sdk/test/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,6 @@
88
"@salesforce/b2c-tooling-sdk/*": ["../src/*/index.ts", "../src/*"]
99
}
1010
},
11-
"include": ["./**/*", "../src/**/*", "../../../types/**/*"]
11+
"include": ["./**/*", "../src/**/*", "../../../types/**/*"],
12+
"exclude": ["./fixtures/**/*.tsx"]
1213
}

packages/b2c-vs-extension/src/cap/cap-commands.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ export function registerCapCommands(
7676
await commerceAppInstall(instance, capPath, {
7777
siteId,
7878
waitOptions: {
79-
onProgress: (exec) => {
80-
progress.report({message: `Status: ${exec.execution_status}`});
79+
onPoll: (info) => {
80+
progress.report({message: `Status: ${info.status}`});
8181
},
8282
},
8383
});

0 commit comments

Comments
 (0)