MCPcopy Create free account
hub / github.com/codegowhere/react-inject-env / onExecute

Method onExecute

src/actions/InjectAction.ts:42–49  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

40 }
41
42 protected async onExecute(): Promise<void> {
43 let folder = this.dir
44 if (this.cp) {
45 copyFolder(this.dir, this.cp)
46 folder = this.cp
47 }
48 replaceFilesInDir(folder)
49 }
50}

Callers

nothing calls this directly

Calls 2

copyFolderFunction · 0.90
replaceFilesInDirFunction · 0.90

Tested by

no test coverage detected