appendServerIndexOption.js 452 B

12345678910111213
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. function appendServerIndexOption(incoming) {
  4. if (!incoming.get('server'))
  5. return [incoming, []];
  6. var value = incoming.get('index');
  7. if (value) {
  8. return [incoming.setIn(['server', 'index'], value), []];
  9. }
  10. return [incoming, []];
  11. }
  12. exports.appendServerIndexOption = appendServerIndexOption;
  13. //# sourceMappingURL=appendServerIndexOption.js.map