MCPcopy Index your code
hub / github.com/codecombat/codecombat / onAcceptAndSavePatch

Method onAcceptAndSavePatch

app/views/editor/PatchModal.js:99–102  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97 }
98
99 onAcceptAndSavePatch () {
100 const commitMessage = this.patch.get('commitMessage') || ''
101 return this.acceptPatch(true, commitMessage)
102 }
103
104 acceptPatch (save, commitMessage) {
105 if (save == null) { save = false }

Callers

nothing calls this directly

Calls 2

acceptPatchMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected