// Dependencies
var request = require('request-promise');

// Includes
var settings = require('../../settings.json');

// Define
exports.func = function(sessionOnly) {
  if (!sessionOnly) {
    sessionOnly = settings.session_only;
  }
  return (sessionOnly ? {session: ''} : request.jar());
}

// Dependencies
var request = require('request-promise');

// Includes
var settings = require('../../settings.json');

// Define
exports.func = function (sessionOnly) {
  if (!sessionOnly) {
    sessionOnly = settings.session_only;
  }
  return (sessionOnly ? {session: ''} : request.jar());
};

Fix formatting