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
This commit is contained in:
Anton Nikolaev
2020-04-06 07:23:26 -07:00
committed by Facebook GitHub Bot
parent 99a4884fad
commit 988f7442ed

View File

@@ -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');