whole_func_string: function logAndFinish(tessel) {
        // The Tessels in `tessels` that we won't be using MUST
        // have their connections closed
        /* istanbul ignore else */
        if (tessel) {
          log.info(`Connected to ${tessel.displayName}.`);
          controller.closeTesselConnections(tessels.filter(closable => closable !== tessel))
            .then(() => resolve(tessel));
        } else {
          log.info('Please specify a Tessel by name [--name <tessel name>]');
          controller.closeTesselConnections(tessels)
            .then(() => reject('Multiple possible Tessel connections found.'));
        }
      }
func_code_string: function logAndFinish(tessel) {
        // The Tessels in `tessels` that we won't be using MUST
        // have their connections closed
        /* istanbul ignore else */
        if (tessel) {
          log.info(`Connected to ${tessel.displayName}.`);
          controller.closeTesselConnections(tessels.filter(closable => closable !== tessel))
            .then(() => resolve(tessel));
        } else {
          log.info('Please specify a Tessel by name [--name <tessel name>]');
          controller.closeTesselConnections(tessels)
            .then(() => reject('Multiple possible Tessel connections found.'));
        }
      }
func_documentation_string: Accesses `tessels` in closure