Remove error when no app bookmarks are found
Summary: App match patterns are not available for all apps, there is no reason to treat this as an error, currently errors are printed for apps like "Flipper". Reviewed By: nikoant Differential Revision: D25369648 fbshipit-source-id: a63aadbf14745310501565b00081602e44852398
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a091e7708e
commit
b1140ae3f9
@@ -44,7 +44,8 @@ export const getAppMatchPatterns = (
|
||||
}
|
||||
});
|
||||
} else if (appName != null) {
|
||||
reject(new Error('No rule for app ' + appName));
|
||||
console.log('No rule for app ' + appName);
|
||||
resolve([]);
|
||||
} else {
|
||||
reject(new Error('selectedApp was null'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user