Skip to content

Commit

Permalink
Fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
henokgetachew committed Oct 25, 2024
1 parent d7f45d6 commit c1cf973
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/move-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const replaceForSingleNode = async (toNode) => {
if (!toNode) {
const nodes = await utils.getNodes();
if (nodes.length > 1) {
throw new Error('More than one node found. Please specify a node mapping in the format oldNode:newNode.');
throw new Error('More than one node found. Please specify a node mapping in the format {"oldNode":"newNode"}.');
}
toNode = nodes[0];
}
Expand Down

0 comments on commit c1cf973

Please sign in to comment.