Skip to content

Commit dfa1800

Browse files
chore: bump snapshot, revert tsconfig
1 parent c8f43c7 commit dfa1800

File tree

5 files changed

+50
-17
lines changed

5 files changed

+50
-17
lines changed

command-snapshot.json

Lines changed: 39 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,42 @@
33
"command": "apex:get:log",
44
"plugin": "@salesforce/plugin-apex",
55
"flags": ["api-version", "log-id", "loglevel", "number", "output-dir", "target-org"],
6-
"alias": ["force:apex:log:get"]
6+
"alias": ["force:apex:log:get"],
7+
"flagChars": ["d", "i", "n", "o"],
8+
"flagAliases": ["apiversion", "logid", "output-directory", "outputdir", "targetusername", "u"]
79
},
810
{
911
"command": "apex:get:test",
1012
"plugin": "@salesforce/plugin-apex",
1113
"flags": ["api-version", "code-coverage", "loglevel", "output-dir", "result-format", "target-org", "test-run-id"],
12-
"alias": ["force:apex:test:report"]
14+
"alias": ["force:apex:test:report"],
15+
"flagChars": ["c", "d", "i", "o", "r"],
16+
"flagAliases": [
17+
"apiversion",
18+
"codecoverage",
19+
"output-directory",
20+
"outputdir",
21+
"resultformat",
22+
"targetusername",
23+
"testrunid",
24+
"u"
25+
]
1326
},
1427
{
1528
"command": "apex:list:log",
1629
"plugin": "@salesforce/plugin-apex",
1730
"flags": ["api-version", "loglevel", "target-org"],
18-
"alias": ["force:apex:log:list"]
31+
"alias": ["force:apex:log:list"],
32+
"flagChars": ["o"],
33+
"flagAliases": ["apiversion", "targetusername", "u"]
1934
},
2035
{
2136
"command": "apex:run",
2237
"plugin": "@salesforce/plugin-apex",
2338
"flags": ["api-version", "file", "loglevel", "target-org"],
24-
"alias": ["force:apex:execute"]
39+
"alias": ["force:apex:execute"],
40+
"flagChars": ["f", "o"],
41+
"flagAliases": ["apexcodefile", "apiversion", "targetusername", "u"]
2542
},
2643
{
2744
"command": "apex:run:test",
@@ -41,12 +58,28 @@
4158
"tests",
4259
"wait"
4360
],
44-
"alias": ["force:apex:test:run"]
61+
"alias": ["force:apex:test:run"],
62+
"flagChars": ["c", "d", "l", "n", "o", "r", "s", "t", "v", "w", "y"],
63+
"flagAliases": [
64+
"apiversion",
65+
"classnames",
66+
"codecoverage",
67+
"detailedcoverage",
68+
"output-directory",
69+
"outputdir",
70+
"resultformat",
71+
"suitenames",
72+
"targetusername",
73+
"testlevel",
74+
"u"
75+
]
4576
},
4677
{
4778
"command": "apex:tail:log",
4879
"plugin": "@salesforce/plugin-apex",
4980
"flags": ["api-version", "color", "debug-level", "loglevel", "skip-trace-flag", "target-org"],
50-
"alias": ["force:apex:log:tail"]
81+
"alias": ["force:apex:log:tail"],
82+
"flagChars": ["c", "d", "o", "s"],
83+
"flagAliases": ["apiversion", "debuglevel", "skiptraceflag", "targetusername", "u"]
5184
}
5285
]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"tslib": "^2"
1515
},
1616
"devDependencies": {
17-
"@oclif/plugin-command-snapshot": "^3.3.13",
17+
"@oclif/plugin-command-snapshot": "^4.0.2",
1818
"@oclif/plugin-help": "^5",
1919
"@salesforce/cli-plugins-testkit": "^4.0.1",
2020
"@salesforce/dev-config": "^4.0.1",

src/commands/apex/run/test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ export default class Test extends SfCommand<RunCommandResult> {
148148
? await this.runTest(testService, flags, testLevel)
149149
: await this.runTestAsynchronous(testService, flags, testLevel);
150150

151+
//
152+
153+
//
154+
151155
if (this.cancellationTokenSource.token.isCancellationRequested) {
152156
throw new SfError('Cancelled');
153157
}

tsconfig.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@
44
"outDir": "lib",
55
"rootDir": "src",
66
"skipLibCheck": true,
7-
"strictNullChecks": true,
8-
"paths": {
9-
"@salesforce/core": ["./node_modules/@salesforce/core"],
10-
"@salesforce/kit": ["./node_modules/@salesforce/kit"]
11-
}
7+
"strictNullChecks": true
128
},
139
"include": ["./src/**/*.ts"]
1410
}

yarn.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -720,18 +720,18 @@
720720
wordwrap "^1.0.0"
721721
wrap-ansi "^7.0.0"
722722

723-
"@oclif/plugin-command-snapshot@^3.3.13":
724-
version "3.3.15"
725-
resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-3.3.15.tgz#2b1f35b75d9bdd15d06386382bb5a53577bdf45a"
726-
integrity sha512-DJ+R8Ega5tq3RTbI6TZ0gI29lEldcSf909VUfsP2zY1tPqkn8IKhs/bFLcS2OkjQgLl/1FpeejFoc4rY44YbRg==
723+
"@oclif/plugin-command-snapshot@^4.0.2":
724+
version "4.0.2"
725+
resolved "https://registry.yarnpkg.com/@oclif/plugin-command-snapshot/-/plugin-command-snapshot-4.0.2.tgz#236fa8a402db63ffc9ed437aa6d2555026de4040"
726+
integrity sha512-pYjiZifZIRpnpm+vdmyItkAcjFDGkP2XuV+i+5H8midzSawomJxphi/p00cjEauQTn5MnaMcAFIuVTDbI0ZiDQ==
727727
dependencies:
728728
"@oclif/core" "^2.8.5"
729729
chalk "^4.1.2"
730730
just-diff "^5.2.0"
731731
lodash "^4.17.21"
732732
semver "^7.5.1"
733733
ts-json-schema-generator "^1.2.0"
734-
tslib "^2.5.0"
734+
tslib "^2.5.2"
735735

736736
"@oclif/plugin-help@^5", "@oclif/plugin-help@^5.1.19":
737737
version "5.2.9"

0 commit comments

Comments
 (0)