From 988f7442ed8640565d92f4595c0b349c50710768 Mon Sep 17 00:00:00 2001 From: Anton Nikolaev Date: Mon, 6 Apr 2020 07:23:26 -0700 Subject: [PATCH] Add quotes to doctor command Summary: Issue resolved: https://github.com/facebook/flipper/issues/980 Reviewed By: jknoxville Differential Revision: D20869451 fbshipit-source-id: f6b0a46adfe868ef13d6d1c922df3e7e9637d857 --- desktop/doctor/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/doctor/src/index.ts b/desktop/doctor/src/index.ts index 8d4b4d120..d98be88e5 100644 --- a/desktop/doctor/src/index.ts +++ b/desktop/doctor/src/index.ts @@ -122,7 +122,7 @@ export function getHealthchecks(): Healthchecks { }; } return await tryExecuteCommand( - path.join(platformToolsDir, 'adb') + ' version', + `"${path.join(platformToolsDir, 'adb')}" version`, ); } return await tryExecuteCommand('adb version');