From 3337c288937a9332961aa2b307a877022d22a039 Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Fri, 25 Aug 2023 04:53:34 -0700 Subject: [PATCH] Don't break the build if the reactdevtools patching fails (#5070) Summary: [flipper] Don't break the build if the reactdevtools patching fails 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 ``` Pull Request resolved: https://github.com/facebook/flipper/pull/5070 Test Plan: Let's see if CI will be happy again. Reviewed By: lblasa Differential Revision: D48681388 Pulled By: passy fbshipit-source-id: d41f21be09c9d060e3c68e36466cfc54b3272325 --- 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 bc8e84395..32139443a 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" } }