Skip to content

Commit

Permalink
Fix for #3
Browse files Browse the repository at this point in the history
  • Loading branch information
garychapman committed Dec 19, 2017
1 parent 2af9b27 commit 66232d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/robot.js
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ class Robot {
scriptsPath = rootPath.resolve(scriptsPath)
this.logger.debug(`Loading scripts from ${scriptsPath}`)
if (scriptsPath[0] === '/') return this.load(scriptsPath)
this.load(rootPath.resolve(scriptsPath))
this.load(path.resolve(rootPath, scriptsPath))
})
}

Expand Down

0 comments on commit 66232d7

Please sign in to comment.