Skip to content

Commit

Permalink
Update node.js (#881)
Browse files Browse the repository at this point in the history
use let instead of const
  • Loading branch information
xhy279 authored Nov 15, 2022
1 parent 20c32f1 commit 68b6194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/node.js
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,7 @@ class Node extends rclnodejs.ShadowNode {
* @return {ParameterDescriptor[]} - The parameter descriptors.
*/
getParameterDescriptors(names = []) {
const descriptors = [];
let descriptors = [];

if (names.length == 0) {
// get all parameters
Expand Down

0 comments on commit 68b6194

Please sign in to comment.