X Tutup
Skip to content

Commit 8bfc935

Browse files
Fix Incorrect Template Type
1 parent 4fd051b commit 8bfc935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command/pr_create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func prCreate(cmd *cobra.Command, _ []string) error {
219219
if rootDir, err := git.ToplevelDir(); err == nil {
220220
// TODO: figure out how to stub this in tests
221221
nonLegacyTemplateFiles = githubtemplate.FindNonLegacy(rootDir, "PULL_REQUEST_TEMPLATE")
222-
legacyTemplateFile = githubtemplate.FindLegacy(rootDir, "ISSUE_TEMPLATE")
222+
legacyTemplateFile = githubtemplate.FindLegacy(rootDir, "PULL_REQUEST_TEMPLATE")
223223
}
224224
err := titleBodySurvey(cmd, &tb, client, baseRepo, title, body, defs, nonLegacyTemplateFiles, legacyTemplateFile, true, baseRepo.ViewerCanTriage())
225225
if err != nil {

0 commit comments

Comments
 (0)
X Tutup