Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Nov 6, 2023
1 parent 22a24aa commit 2f54477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/core/Action.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ Action.prototype.sendGoal = function(request, resultCallback, feedbackCallback,
if (typeof failedCallback === 'function') {
failedCallback(message.values);
}
} else if (message.op === "action_feedback" && typeof feedbackCallback === 'function') {
} else if (message.op === 'action_feedback' && typeof feedbackCallback === 'function') {
feedbackCallback(new ActionResult(message.values));
} else if (message.op === "action_result" && typeof resultCallback === 'function') {
} else if (message.op === 'action_result' && typeof resultCallback === 'function') {
resultCallback(new ActionResult(message.values));
}
});
Expand Down
2 changes: 1 addition & 1 deletion src/core/ActionFeedback.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var assign = require('object-assign');
* @constructor
* @param values - object matching the fields defined in the .action definition file
*/
function ActionGoal(values) {
function ActionFeedback(values) {
assign(this, values);
}

Expand Down

0 comments on commit 2f54477

Please sign in to comment.