MCPcopy Index your code
hub / github.com/peter-evans/create-pull-request / close

Method close

src/git-config-helper.ts:40–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 }
39
40 async close(): Promise<void> {
41 // Remove auth and restore persisted auth config if it existed
42 await this.removeAuth()
43 await this.restorePersistedAuth()
44 await this.removeSafeDirectory()
45 }
46
47 async addSafeDirectory(): Promise<void> {
48 const exists = await this.git.configExists(

Callers 2

createPullRequestFunction · 0.80

Calls 3

removeAuthMethod · 0.95
restorePersistedAuthMethod · 0.95
removeSafeDirectoryMethod · 0.95

Tested by

no test coverage detected