From ca99f0506aba9715bed46f477c3192aa0142175b Mon Sep 17 00:00:00 2001 From: David Glasser Date: Wed, 29 Oct 2014 18:39:26 -0700 Subject: [PATCH] Remove duplicate method definition There's another isLocalPackage lower in the same _.extend, and that's the one that is being used. --- tools/catalog-local.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tools/catalog-local.js b/tools/catalog-local.js index ead9eba11e..ec271c7a3a 100644 --- a/tools/catalog-local.js +++ b/tools/catalog-local.js @@ -192,13 +192,6 @@ _.extend(LocalCatalog.prototype, { return self.getVersion(name, versions[0]); }, - // Overridden by CompleteCatalog. - // XXX this is kinda sketchy, maybe callers should only call this - // on the CompleteCatalog? - isLocalPackage: function () { - return false; - }, - // If this package has any builds at this version, return an array of builds // which cover all of the required arches, or null if it is impossible to // cover them all (or if the version does not exist).