Skip to content

Commit d58815d

Browse files
committed
Export InvokePesterStub.ps1 to PowerShellEditorServices
This fixes the path to the script which is now part of the `PowerShellEditorServices` repository. This was necessary in order to sign it, as it must be signed _before_ the VSIX is created. Moving it to the other repo was the best way to solve the "chicken-egg" problem that presented.
1 parent 5e4f8d8 commit d58815d

File tree

3 files changed

+1
-194
lines changed

3 files changed

+1
-194
lines changed

.vsts-ci/templates/release-general.yml

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ steps:
4242
# NOTE: Code AKA *.vsix files are not signed
4343
pattern: |
4444
Install-VSCode.ps1
45-
InvokePesterStub.ps1
4645
4746
- template: EsrpScan.yml@ComplianceRepo
4847
parameters:

InvokePesterStub.ps1

-192
This file was deleted.

src/features/PesterTests.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class PesterTestsFeature implements vscode.Disposable {
1818
private invokePesterStubScriptPath: string;
1919

2020
constructor(private sessionManager: SessionManager) {
21-
this.invokePesterStubScriptPath = path.resolve(__dirname, "../../../InvokePesterStub.ps1");
21+
this.invokePesterStubScriptPath = path.resolve(__dirname, "../../../modules/PowerShellEditorServices/InvokePesterStub.ps1");
2222

2323
// File context-menu command - Run Pester Tests
2424
this.command = vscode.commands.registerCommand(

0 commit comments

Comments
 (0)