@nan0web/ui-cli 1.1.0 → 1.1.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/CLI.js +1 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nan0web/ui-cli",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "NaN•Web UI CLI. Command line interface for One application logic (algorithm) and many UI.",
5
5
  "main": "src/index.js",
6
6
  "types": "types/index.d.ts",
package/src/CLI.js CHANGED
@@ -60,6 +60,7 @@ export default class CLi {
60
60
  /** @ts-ignore – only `content` needed for tests */
61
61
  yield new OutputMessage({ content: [`Executed ${cmd} with body: ${JSON.stringify(validated.body)}`] })
62
62
  if (typeof Class.run === "function") yield* Class.run(validated)
63
+ if (typeof validated.run === "function") yield* validated.run(msg)
63
64
  })
64
65
  })
65
66
  }