node-automator 1.4.12 → 1.4.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-automator",
3
- "version": "1.4.12",
3
+ "version": "1.4.13",
4
4
  "description": "Execute automation with yaml configuration(compatible with json)",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -341,7 +341,7 @@ async function multiSelect(content, data) {
341
341
  const options = content;
342
342
  const viewOptions = optionKeys.map((optionKey, index) => {
343
343
  let optionValue = options[optionKey];
344
- const showKey = isContentArray ? (1 + optionKey) : optionKey;
344
+ const showKey = isContentArray ? (+optionKey + 1) : optionKey;
345
345
  if (data.preview_handler) {
346
346
  return {
347
347
  showKey,