MCPcopy
hub / github.com/composerize/composerize / updateConversion

Method updateConversion

packages/composerize-website/src/Main.js:61–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59 }
60
61 updateConversion() {
62 this.setState((state) => {
63 try {
64 return {
65 output: Composerize(state.command, state.compose, state.version, state.indent),
66 error: '',
67 erroredLines: [],
68 };
69 } catch (e) {
70 return {
71 error: e.toString(),
72 output: '#see error message(s)',
73 erroredLines: e.lines,
74 };
75 }
76 });
77 }
78
79 render() {
80 return (

Callers 4

onComposeInputChangeMethod · 0.95
onCommandInputChangeMethod · 0.95
onSelectChangeMethod · 0.95
onIndentChangeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected