From 92cf32a49ac5c2ea7cfcdc949cf5bb3f9ec9c1f7 Mon Sep 17 00:00:00 2001 From: David Glasser Date: Wed, 6 Aug 2014 16:05:34 -0700 Subject: [PATCH] don't break running from checkout --- tools/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/main.js b/tools/main.js index 33b0f7d888..11e66ba8c9 100644 --- a/tools/main.js +++ b/tools/main.js @@ -781,7 +781,8 @@ Fiber(function () { // release.load (which will refresh the catalog because the release // presumably doesn't exist on the new server, and this is a slow // operation). - if (warehouse.releaseExistsInWarehouse(releaseName)) { + if (releaseName !== null && + warehouse.releaseExistsInWarehouse(releaseName)) { var manifest = warehouse.ensureReleaseExistsAndReturnManifest( releaseName); oldSpringboard(manifest.tools);