MCPcopy Create free account
hub / github.com/GamerHack/GamerHack.github.io / check_allow_run

Method check_allow_run

g2all/900/module/chain.js:218–225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

216 }
217
218 check_allow_run() {
219 if (this.position === 0) {
220 throw Error('chain is empty');
221 }
222 if (this.is_dirty) {
223 throw Error('chain already ran, clean it first');
224 }
225 }
226
227 reset() {
228 this.empty();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected