Skip to content

Commit

Permalink
style(remote): adjusts spacing/quotes for eslint rules (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Nov 27, 2023
1 parent d365305 commit 9c29ea9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/command/remote.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
});

Expand Down

0 comments on commit 9c29ea9

Please sign in to comment.