mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Change explainIfRefreshFailed to recommend connecting to the internet
This commit is contained in:
committed by
Emily Stark
parent
bf227bd35d
commit
d98c6eac8d
@@ -74,11 +74,8 @@ var refreshOfficialCatalogOrDie = function (options) {
|
||||
};
|
||||
|
||||
var explainIfRefreshFailed = function () {
|
||||
if (catalog.official.offline) {
|
||||
Console.info("(But we're offline, so we didn't update the package catalog, so it might exist)");
|
||||
} else if (catalog.refreshFailed) {
|
||||
Console.info("(But the update of the package catalog failed, so it might exist)");
|
||||
}
|
||||
Console.info("Your package catalog may be out of date.\n" +
|
||||
"Please connect to the internet and try again.");
|
||||
};
|
||||
|
||||
// XXX: To formatters.js ?
|
||||
|
||||
Reference in New Issue
Block a user