From 8a72ef340dff1eef445a80066b206678e8dc4b1d Mon Sep 17 00:00:00 2001 From: Justin Grote Date: Wed, 5 Jul 2023 15:33:07 -0700 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20Remove=20pipeline=20type?= =?UTF-8?q?=20signature=20https://github.com/nodejs/node/issues/40191=20wa?= =?UTF-8?q?s=20resolved?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/extension.ts | 1 - src/powershell.ts | 8 +------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/extension.ts b/src/extension.ts index 748c299f..7f7d4076 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -29,7 +29,6 @@ export async function activate(context: ExtensionContext) { const suppressCodeLensNotice = workspace.getConfiguration('pester').get('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?', diff --git a/src/powershell.ts b/src/powershell.ts index 268ae474..b15a3be9 100644 --- a/src/powershell.ts +++ b/src/powershell.ts @@ -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),