Skip to content

Commit ac333eb

Browse files
authored
Fix deprecated File.exists method (#24)
* initial commit for Fix deprecated File.exists method * Remove depreciated method
1 parent 3aab4d8 commit ac333eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exe/pr

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ title = name
6262

6363
body_lines = []
6464
path = ".github/pull_request_template.md"
65-
body_lines.push File.read(path) if File.exists?(path)
65+
body_lines.push File.read(path) if File.exist?(path)
6666
body_lines.push "fixes ##{@issue_number}" if @issue_number
6767
body = body_lines.join("\n\n")
6868

0 commit comments

Comments
 (0)