From 5b099bf4fb3c4d6d1e932acdfa63df9ed01ac5d3 Mon Sep 17 00:00:00 2001 From: vince-fugnitto Date: Fri, 20 Sep 2019 13:46:27 -0400 Subject: [PATCH] Update `postinstall` scripts - updated the `postinstall` scripts for both `cortext-debug` and `cpp-debug`. - updated the scripts as a workaround to a known yarn issue on windows (https://github.com/yarnpkg/yarn/issues/4564) Signed-off-by: vince-fugnitto --- packages/cortex-debug/package.json | 2 +- packages/cpp-debug/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cortex-debug/package.json b/packages/cortex-debug/package.json index ce4ecc9..ccca317 100644 --- a/packages/cortex-debug/package.json +++ b/packages/cortex-debug/package.json @@ -31,7 +31,7 @@ "scripts" ], "scripts": { - "postinstall": "yarn run download", + "postinstall": "node -e \"require('@theia/debug/bin/download-adapters.js')\"", "prepare": "yarn run clean && yarn run build", "download": "download-debug-adapters", "clean": "theiaext clean", diff --git a/packages/cpp-debug/package.json b/packages/cpp-debug/package.json index de19a2b..30bba5c 100644 --- a/packages/cpp-debug/package.json +++ b/packages/cpp-debug/package.json @@ -37,7 +37,7 @@ "src" ], "scripts": { - "postinstall": "yarn run download", + "postinstall": "node -e \"require('@theia/debug/bin/download-adapters.js')\"", "prepare": "yarn run clean && yarn run build", "download": "download-debug-adapters", "clean": "theiaext clean",