From 4b1740600e3f705b87303f245e25b3ec31cf12c5 Mon Sep 17 00:00:00 2001 From: Dan Grebb Date: Wed, 25 Oct 2023 07:38:17 -0400 Subject: [PATCH] style(remote): adjusts spacing/quotes for eslint rules (#34) --- core/command/remote.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/command/remote.js b/core/command/remote.js index 29adf0248..b2d9f76bc 100644 --- a/core/command/remote.js +++ b/core/command/remote.js @@ -12,13 +12,13 @@ module.exports = { return new Promise(function (resolve, reject) { const port = getRemotePort(); const commandStr = `node ${ssws} ${projectPath} ${MIDDLEWARE_PATH} --config=${config.backstopConfigFileName}`; - const env = {'SSWS_HTTP_PORT': port}; + const env = { SSWS_HTTP_PORT: port }; logger.log(`Starting remote with: ${commandStr} with env ${JSON.stringify(env)}`); - const child = exec(commandStr, { env: { ...env, 'PATH': process.env.PATH } }, (error) => { + const child = exec(commandStr, { env: { ...env, PATH: process.env.PATH } }, (error) => { if (error) { - logger.log("Error running backstop remote:", error); + logger.log('Error running backstop remote:', error); } });