From 6fbf762f8d584bf6135377fcf33bfec065c165fe Mon Sep 17 00:00:00 2001 From: David Glasser Date: Tue, 4 Nov 2014 16:33:08 -0800 Subject: [PATCH] Move misplaced comment --- tools/commands-packages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/commands-packages.js b/tools/commands-packages.js index 11d9f1ea70..76bb52ab10 100644 --- a/tools/commands-packages.js +++ b/tools/commands-packages.js @@ -46,8 +46,6 @@ var getReleaseOrPackageRecord = function(name) { return { record: rec, isRelease: rel }; }; -// Seriously, this dies if it can't refresh. Only call it if you're sure you're -// OK that the command doesn't work while offline. var doOrDie = exports.doOrDie = function (options, f) { if (_.isFunction(options)) { f = options; @@ -65,6 +63,8 @@ var doOrDie = exports.doOrDie = function (options, f) { return ret; }; +// Seriously, this dies if it can't refresh. Only call it if you're sure you're +// OK that the command doesn't work while offline. var refreshOfficialCatalogOrDie = function (options) { if (!catalog.refreshOrWarn(options)) { Console.error(