Skip to content

Commit

Permalink
Merge pull request #13 from bptlab/291_ensure_coding_standards
Browse files Browse the repository at this point in the history
Ensure Coding Standards
  • Loading branch information
WolfgangDaniel committed Jun 1, 2021
2 parents ae6bc5c + 1abaa4f commit 277650e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ debug.log
.vscode
node_modules
**/__pycache__
robotExecution/executable.robot
5 changes: 2 additions & 3 deletions robotExecution/socketConnection.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ const { exec } = require('child_process');
const io = require('socket.io-client');

/**
* @description Connects client with the server by using a socket. Also joins the respective room for the given userId
* @description Connects client with the server by using a socket and joins the respective room for the given userId
* @param {Object} configurationData Json object that contains the userId
*/
exports.connectWithSocket = (configurationData) => {
// socket stuff
const { userId } = configurationData;
const socket = io('http://localhost:5001');

Expand Down Expand Up @@ -40,7 +39,7 @@ exports.connectWithSocket = (configurationData) => {
});
// debug.robot is just used for testing purposes. This allows for easy debugging when you want to specify the robot locally instead of the ark_automate web interface. Use executable.robot to use the one specified in the web app.
exec(
'robot --listener ./robotMonitoring/liveLogsListener.py ./robotExecution/debug.robot',
'robot --listener ./robotMonitoring/liveLogsListener.py ./robotExecution/executable.robot',
(err) => {
if (err) {
console.log(err.message);
Expand Down

0 comments on commit 277650e

Please sign in to comment.