Skip to content

Commit

Permalink
♻️ Remove pipeline type signature
Browse files Browse the repository at this point in the history
nodejs/node#40191 was resolved
  • Loading branch information
JustinGrote committed Jul 5, 2023
1 parent 9bc01d5 commit 8a72ef3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export async function activate(context: ExtensionContext) {

const suppressCodeLensNotice = workspace.getConfiguration('pester').get<boolean>('suppressCodeLensNotice') ?? false


if (psExtensionCodeLensSetting && !suppressCodeLensNotice) {
void window.showInformationMessage(
'The Pester Tests extension recommends disabling the built-in PowerShell Pester CodeLens. Would you like to do this?',
Expand Down
8 changes: 1 addition & 7 deletions src/powershell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,13 +271,7 @@ export class PowerShell {
new ReadlineTransform({ skipEmpty: false })
)

// Workaround for https://github.com/nodejs/node/issues/40191
const pipelineCompleted = pipeline<
ReadlineTransform,
Transform,
Transform,
Writable
>(
const pipelineCompleted = pipeline(
readlineTransform,
createJsonParseTransform(),
createWatchForScriptFinishedMessageTransform(readlineTransform),
Expand Down

0 comments on commit 8a72ef3

Please sign in to comment.