We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dddc9a2 commit 5bd3456Copy full SHA for 5bd3456
examples/examples/apiExplorer/apiExplorer.ts
@@ -39,7 +39,8 @@ export async function run() {
39
40
// Only change the options if they are urls
41
const opts = Object.values(response);
42
- if ((opts[0] as string).match(/^\//)) {
+ const first = opts[0];
43
+ if (typeof first === 'string' && first.match(/^\//)) {
44
options = opts;
45
}
46
} catch (err) {
examples/package.json
@@ -15,7 +15,7 @@
15
"Salesforce CLI"
16
],
17
"dependencies": {
18
- "@salesforce/core": "^3",
+ "@salesforce/core": "^6",
19
"chalk": "^4",
20
"inquirer": "^8",
21
"lodash": "^4.17.21",
0 commit comments