MCPcopy Create free account
hub / github.com/bugy/script-server / SET_SCRIPT_CONFIG

Function SET_SCRIPT_CONFIG

web-src/src/admin/store/script-config-module.js:111–116  ·  view source on GitHub ↗
(state, {config, filename})

Source from the content-addressed store, hash-verified

109 },
110
111 SET_SCRIPT_CONFIG(state, {config, filename}) {
112 state.error = null;
113 state.scriptConfig = config;
114 state.scriptFilename = filename;
115 state.new = false;
116 },
117
118 SET_LOAD_ERROR(state, error) {
119 state.error = error;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected