Workaround for Anrdoid SDK detection not working with Java 9+ installed
Summary: Workaround for Anrdoid SDK detection not working with Java 9+ installed Reviewed By: mweststrate Differential Revision: D19094906 fbshipit-source-id: a7c8c9c8403d25ecc9b2d95113718ddf1821a349
This commit is contained in:
committed by
Facebook Github Bot
parent
d32774f439
commit
5d17eede85
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "flipper-doctor",
|
"name": "flipper-doctor",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"description": "Utility for checking for issues with a flipper installation",
|
"description": "Utility for checking for issues with a flipper installation",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"types": "lib/index.d.ts",
|
"types": "lib/index.d.ts",
|
||||||
|
|||||||
@@ -32,6 +32,9 @@ export type EnvironmentInfo = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export async function getEnvInfo(): Promise<EnvironmentInfo> {
|
export async function getEnvInfo(): Promise<EnvironmentInfo> {
|
||||||
|
// Temporary fix for https://github.com/facebook/flipper/issues/667 until it properly fixed in 'envinfo'.
|
||||||
|
process.env.JAVA_OPTS =
|
||||||
|
'-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee';
|
||||||
return JSON.parse(
|
return JSON.parse(
|
||||||
await run(
|
await run(
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -136,7 +136,7 @@
|
|||||||
"emotion": "^10.0.23",
|
"emotion": "^10.0.23",
|
||||||
"expand-tilde": "^2.0.2",
|
"expand-tilde": "^2.0.2",
|
||||||
"express": "^4.15.2",
|
"express": "^4.15.2",
|
||||||
"flipper-doctor": "^0.2.1",
|
"flipper-doctor": "^0.2.2",
|
||||||
"fs-extra": "^8.0.1",
|
"fs-extra": "^8.0.1",
|
||||||
"immer": "^5.0.1",
|
"immer": "^5.0.1",
|
||||||
"immutable": "^4.0.0-rc.12",
|
"immutable": "^4.0.0-rc.12",
|
||||||
|
|||||||
@@ -4147,10 +4147,10 @@ flatted@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08"
|
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.1.tgz#69e57caa8f0eacbc281d2e2cb458d46fdb449e08"
|
||||||
integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==
|
integrity sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==
|
||||||
|
|
||||||
flipper-doctor@^0.2.1:
|
flipper-doctor@^0.2.2:
|
||||||
version "0.2.1"
|
version "0.2.2"
|
||||||
resolved "https://registry.yarnpkg.com/flipper-doctor/-/flipper-doctor-0.2.1.tgz#aed801c5f12a012a555a0d82e4b93bce88263f3f"
|
resolved "https://registry.yarnpkg.com/flipper-doctor/-/flipper-doctor-0.2.2.tgz#ad51882bd82fea105034eab4db04aa9da2e45fdd"
|
||||||
integrity sha512-JjEEEMWWxD4P899SX7huVMr44ERmGSeUZk+IAgWFhHxCvrQDoFYGjK2GFvwMn6vV08RpEPxBXiYhflnSOk/wJg==
|
integrity sha512-bi5xO5GO0LzwEHif2k4gpL4aXlt70tts2wxTsTZS4ng6VykV/5qlawIcOg5vn57+rsito+zWsyUhYEMgKu0BZg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "^12.12.12"
|
"@types/node" "^12.12.12"
|
||||||
envinfo "^7.4.0"
|
envinfo "^7.4.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user