mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Clarify warnings for unknown keys in App.icons and App.launchScreens
This commit is contained in:
6
tools/cordova/builder.js
vendored
6
tools/cordova/builder.js
vendored
@@ -521,7 +521,8 @@ Valid platforms are: ios, android.`);
|
||||
_.keys(iconsIosSizes).concat(_.keys(iconsAndroidSizes));
|
||||
_.each(icons, function (value, key) {
|
||||
if (!_.include(validDevices, key)) {
|
||||
Console.warn(key + ": unknown key in App.icons configuration.");
|
||||
Console.labelWarn(`${key}: unknown key in App.icons \
|
||||
configuration. The key may be deprecated.`);
|
||||
}
|
||||
});
|
||||
_.extend(builder.imagePaths.icon, icons);
|
||||
@@ -566,7 +567,8 @@ Valid platforms are: ios, android.`);
|
||||
|
||||
_.each(launchScreens, function (value, key) {
|
||||
if (!_.include(validDevices, key)) {
|
||||
Console.warn(key + ": unknown key in App.launchScreens configuration.");
|
||||
Console.labelWarn(`${key}: unknown key in App.launchScreens \
|
||||
configuration. The key may be deprecated.`);
|
||||
}
|
||||
});
|
||||
_.extend(builder.imagePaths.splash, launchScreens);
|
||||
|
||||
Reference in New Issue
Block a user