diff --git a/lib/child-writer/cli.js b/lib/child-writer/cli.js index 4fa237cc..aff0f93f 100644 --- a/lib/child-writer/cli.js +++ b/lib/child-writer/cli.js @@ -86,7 +86,7 @@ exports.getArguments = (options) => { '--drive', options.device, - // Explicitly set the boolen flag in positive + // Explicitly set the boolean flag in positive // or negative way in order to be on the safe // side in case the Etcher CLI changes the // default value of these options. diff --git a/lib/shared/robot.js b/lib/shared/robot.js index 738b4997..fe09121b 100644 --- a/lib/shared/robot.js +++ b/lib/shared/robot.js @@ -74,7 +74,7 @@ exports.buildMessage = (title, data = {}) => { * * @example * const result = robot.parseMessage('{"command":"progress","data":{"foo":50}}'); - * console.log(message); + * console.log(result); * > { * > command: 'progress', * > data: {