From 925b3b1f6e98e57269a8ba488e77ae63a352784e Mon Sep 17 00:00:00 2001 From: Jack Franklin Date: Thu, 9 Jul 2020 14:50:38 +0100 Subject: [PATCH] invalid syntax fix --- scripts/ensure-correct-devtools-protocol-package.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ensure-correct-devtools-protocol-package.ts b/scripts/ensure-correct-devtools-protocol-package.ts index 989593b317f66..f953844ce0b5d 100644 --- a/scripts/ensure-correct-devtools-protocol-package.ts +++ b/scripts/ensure-correct-devtools-protocol-package.ts @@ -44,7 +44,7 @@ const currentProtocolPackageInstalledVersion = /** * Ensure that the devtools-protocol version is pinned. */ -if (/^[^0-9]/.test(currentProtocolPackageInstalledVersion) { +if (/^[^0-9]/.test(currentProtocolPackageInstalledVersion)) { console.log( `ERROR: devtools-protocol package is not pinned to a specific version.\n` );