Skip to content

Commit

Permalink
fix: Parsing help for [object Object] in logs (#1705)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyguerra committed Dec 6, 2023
1 parent e0ecb03 commit 488daac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Robot.mjs
Expand Up @@ -544,7 +544,7 @@ class Robot {
let currentSection = null
let nextSection

this.logger.debug(`Parsing help for ${path}`)
this.logger.debug(`Parsing help for ${filePath}`)

for (let i = 0, line; i < lines.length; i++) {
line = lines[i]
Expand All @@ -568,7 +568,7 @@ class Robot {
}

if (currentSection === null) {
this.logger.info(`${path} is using deprecated documentation syntax`)
this.logger.info(`${filePath} is using deprecated documentation syntax`)
scriptDocumentation.commands = []
for (let i = 0, line, cleanedLine; i < lines.length; i++) {
line = lines[i]
Expand Down

0 comments on commit 488daac

Please sign in to comment.