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
This commit is contained in:
Pascal Hartig
2023-08-25 04:53:34 -07:00
committed by Facebook GitHub Bot
parent 2a6426ebbe
commit 3337c28893

View File

@@ -39,6 +39,6 @@
"flipper-plugin": "*" "flipper-plugin": "*"
}, },
"scripts": { "scripts": {
"postinstall": "ts-node scripts/remove-sourcemap-reference.tsx" "postinstall": "ts-node scripts/remove-sourcemap-reference.tsx || true"
} }
} }