@salesforce/plugin-apex 2.2.17 → 2.2.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commands/apex/run.d.ts +1 -1
- package/lib/commands/apex/run.js +6 -2
- package/lib/commands/apex/run.js.map +1 -1
- package/messages/run.md +6 -2
- package/oclif.manifest.json +1 -1
- package/package.json +11 -11
|
@@ -13,7 +13,7 @@ export default class Run extends SfCommand<ExecuteResult> {
|
|
|
13
13
|
static readonly summary: string;
|
|
14
14
|
static readonly description: string;
|
|
15
15
|
static readonly examples: string[];
|
|
16
|
-
static aliases: string[];
|
|
16
|
+
static readonly aliases: string[];
|
|
17
17
|
static deprecateAliases: boolean;
|
|
18
18
|
static readonly flags: {
|
|
19
19
|
'target-org': import("@oclif/core/lib/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/lib/interfaces/parser").CustomOptions>;
|
package/lib/commands/apex/run.js
CHANGED
|
@@ -24,8 +24,12 @@ class Run extends sf_plugins_core_1.SfCommand {
|
|
|
24
24
|
const formattedResult = runReporter_1.default.formatJson(result);
|
|
25
25
|
if (!result.compiled || !result.success) {
|
|
26
26
|
const err = !result.compiled
|
|
27
|
-
? new core_1.SfError(messages.getMessage('executeCompileFailure'
|
|
28
|
-
|
|
27
|
+
? new core_1.SfError(messages.getMessage('executeCompileFailure', [
|
|
28
|
+
formattedResult.line,
|
|
29
|
+
formattedResult.column,
|
|
30
|
+
formattedResult.compileProblem,
|
|
31
|
+
]), 'executeCompileFailure')
|
|
32
|
+
: new core_1.SfError(messages.getMessage('executeRuntimeFailure', [formattedResult.exceptionMessage]), 'executeRuntimeFailure', []);
|
|
29
33
|
err.setData(formattedResult);
|
|
30
34
|
throw err;
|
|
31
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"run.js","sourceRoot":"","sources":["../../../src/commands/apex/run.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,qDAA2E;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AAC,GAAG,CAAC,qBAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;QAE5C,OAAO,eAAe,CAAC;IACzB,CAAC;;AAtDH,sBAuDC;AAtDwB,WAAO,GAAG,QAAQ,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC;AACzC,eAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC;AACjD,YAAQ,GAAG,QAAQ,CAAC,WAAW,CAAC,UAAU,CAAC,CAAC;AAC5C,WAAO,GAAG,CAAC,oBAAoB,CAAC,CAAC;AAC1C,oBAAgB,GAAG,IAAI,CAAC;AAEf,SAAK,GAAG;IAC7B,YAAY,EAAE,iDAA+B;IAC7C,aAAa,EAAE,mDAAiC;IAChD,QAAQ,EAAR,0BAAQ;IACR,IAAI,EAAE,uBAAK,CAAC,IAAI,CAAC;QACf,gBAAgB,EAAE,IAAI;QACtB,OAAO,EAAE,CAAC,cAAc,CAAC;QACzB,IAAI,EAAE,GAAG;QACT,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC,YAAY,CAAC;KAC3C,CAAC;CACH,CAAC"}
|
package/messages/run.md
CHANGED
|
@@ -37,11 +37,15 @@ Executed successfully.
|
|
|
37
37
|
|
|
38
38
|
# executeRuntimeFailure
|
|
39
39
|
|
|
40
|
-
Execution failed
|
|
40
|
+
Execution failed at this code:
|
|
41
|
+
|
|
42
|
+
%s
|
|
41
43
|
|
|
42
44
|
# executeCompileFailure
|
|
43
45
|
|
|
44
|
-
Compilation failed
|
|
46
|
+
Compilation failed at Line %s column %s with the error:
|
|
47
|
+
|
|
48
|
+
%s
|
|
45
49
|
|
|
46
50
|
# executeRuntimeSuccess
|
|
47
51
|
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/plugin-apex",
|
|
3
3
|
"description": "Apex commands",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.19",
|
|
5
5
|
"author": "Salesforce",
|
|
6
6
|
"bugs": "https://github.com/forcedotcom/cli/issues",
|
|
7
7
|
"main": "lib/index.js",
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@oclif/core": "^2.8.2",
|
|
10
10
|
"@salesforce/apex-node": "^1.6.1",
|
|
11
|
-
"@salesforce/core": "^3.
|
|
11
|
+
"@salesforce/core": "^3.36.1",
|
|
12
12
|
"@salesforce/sf-plugins-core": "^2.4.2",
|
|
13
13
|
"chalk": "^4.1.0",
|
|
14
14
|
"tslib": "^2"
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
"@oclif/plugin-help": "^5",
|
|
19
19
|
"@salesforce/dev-config": "3.1.0",
|
|
20
20
|
"@salesforce/dev-scripts": "^4.3.1",
|
|
21
|
-
"@salesforce/plugin-command-reference": "^2.4.
|
|
21
|
+
"@salesforce/plugin-command-reference": "^2.4.4",
|
|
22
22
|
"@salesforce/prettier-config": "^0.0.2",
|
|
23
23
|
"@salesforce/ts-sinon": "^1.4.4",
|
|
24
24
|
"@salesforce/ts-types": "1.7.3",
|
|
25
|
-
"@swc/core": "^1.3.
|
|
26
|
-
"@typescript-eslint/eslint-plugin": "^5.59.
|
|
27
|
-
"@typescript-eslint/parser": "^5.59.
|
|
25
|
+
"@swc/core": "^1.3.57",
|
|
26
|
+
"@typescript-eslint/eslint-plugin": "^5.59.5",
|
|
27
|
+
"@typescript-eslint/parser": "^5.59.5",
|
|
28
28
|
"chai": "^4.2.0",
|
|
29
|
-
"eslint": "^8.
|
|
29
|
+
"eslint": "^8.40.0",
|
|
30
30
|
"eslint-config-prettier": "^8.8.0",
|
|
31
31
|
"eslint-config-salesforce": "^1.2.0",
|
|
32
32
|
"eslint-config-salesforce-license": "^0.2.0",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"eslint-plugin-header": "^3.0.0",
|
|
35
35
|
"eslint-plugin-import": "^2.27.5",
|
|
36
36
|
"eslint-plugin-jsdoc": "^39.3.6",
|
|
37
|
-
"eslint-plugin-sf-plugin": "^1.15.
|
|
37
|
+
"eslint-plugin-sf-plugin": "^1.15.2",
|
|
38
38
|
"husky": "^7.0.4",
|
|
39
39
|
"mocha": "^9.1.3",
|
|
40
40
|
"nyc": "^15.1.0",
|
|
41
|
-
"oclif": "^3.
|
|
41
|
+
"oclif": "^3.9.0",
|
|
42
42
|
"prettier": "^2.8.8",
|
|
43
43
|
"pretty-quick": "^3.1.0",
|
|
44
44
|
"shx": "^0.3.4",
|
|
@@ -229,7 +229,7 @@
|
|
|
229
229
|
}
|
|
230
230
|
},
|
|
231
231
|
"sfdx": {
|
|
232
|
-
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/2.2.
|
|
233
|
-
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/2.2.
|
|
232
|
+
"publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/2.2.19.crt",
|
|
233
|
+
"signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-apex/2.2.19.sig"
|
|
234
234
|
}
|
|
235
235
|
}
|