If sdk_version is missing, consider it old in server.tsx
Summary: Just noticed this. There are probably not many version 0's around, but if there are they should be treated as old. Reviewed By: passy Differential Revision: D17397155 fbshipit-source-id: fab6f8b2557ecb983441b282ceb29b5b744ae900
This commit is contained in:
committed by
Facebook Github Bot
parent
fd8d28ca11
commit
25de8ee90a
@@ -318,7 +318,7 @@ class Server extends EventEmitter {
|
|||||||
// section because it refers to the name given by client which is not fixed
|
// section because it refers to the name given by client which is not fixed
|
||||||
// for android emulators, so it is indicated as outdated so that developers
|
// for android emulators, so it is indicated as outdated so that developers
|
||||||
// might want to update SDK to get rid of this connection swap problem
|
// might want to update SDK to get rid of this connection swap problem
|
||||||
if (query.sdk_version && query.sdk_version < 3) {
|
if (!query.sdk_version || query.sdk_version < 3) {
|
||||||
query.app += ' (Outdated SDK)';
|
query.app += ' (Outdated SDK)';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user