Skip to content

Commit 488daac

Browse files
authored
fix: Parsing help for [object Object] in logs (#1705)
1 parent e0ecb03 commit 488daac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Robot.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ class Robot {
544544
let currentSection = null
545545
let nextSection
546546

547-
this.logger.debug(`Parsing help for ${path}`)
547+
this.logger.debug(`Parsing help for ${filePath}`)
548548

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

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

0 commit comments

Comments
 (0)