@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.
- package/package.json +1 -1
- package/src/CLI.js +1 -0
package/package.json
CHANGED
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
|
}
|