From eae4f077b203e1ae06f3c31a2494e8f1a9b164b5 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Fri, 25 Aug 2023 11:09:17 +0100 Subject: [PATCH] [flipper] Don't break the build if the reactdevtools patching fails Summary: There seems to be a bug in yarn workspaces on Windows: ``` Error: Cannot find module 'D:\\a\\flipper\\flipper\\desktop\\plugins\\public\\node_modules\\node_modules\\ts-node\\dist\\bin.js ``` Test Plan: Let's see if CI will be happy again. Reviewers: Subscribers: Tasks: Tags: --- desktop/plugins/public/reactdevtools/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/plugins/public/reactdevtools/package.json b/desktop/plugins/public/reactdevtools/package.json index bc8e843951b..32139443acb 100644 --- a/desktop/plugins/public/reactdevtools/package.json +++ b/desktop/plugins/public/reactdevtools/package.json @@ -39,6 +39,6 @@ "flipper-plugin": "*" }, "scripts": { - "postinstall": "ts-node scripts/remove-sourcemap-reference.tsx" + "postinstall": "ts-node scripts/remove-sourcemap-reference.tsx || true" } }