Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
gdepuille committed May 3, 2024
1 parent a9c4496 commit 353d949
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/services/BashService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class BashService {
this.log.info(`Copy all logs for ${robotId} ${robot.name} from ${host} to ${dir}`);

return new Promise((resolve, reject) => {
let robotName = robot.dirName !== undefined ? robot.dirName.toLowerCase() : robot.name.toLowerCase();
const robotName = robot.dirName !== undefined ? robot.dirName.toLowerCase() : robot.name.toLowerCase();
const getLogs = child.spawn(this.GET_LOGS_SH, [host, robotName, dir], {
cwd: process.cwd()
});
Expand Down
2 changes: 1 addition & 1 deletion src/services/RobotService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class RobotService {
private log: Logger;

buildDir(robot: Robot): string {
let dirName = robot.dirName !== undefined ? robot.dirName.toLowerCase() : robot.name.toLowerCase();
const dirName = robot.dirName !== undefined ? robot.dirName.toLowerCase() : robot.name.toLowerCase();

if (robot.simulateur) {
return `${this.config.logsOutput}-simulateur/${dirName}`;
Expand Down

0 comments on commit 353d949

Please sign in to comment.