Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

prevent 422's by ensuring an extension always exists (esp w/STDIN).

  • Loading branch information...
commit 2edaf7b80dd43acbb0bc472ea2b017468d23b8c2 1 parent 62b3161
@ahoward authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/gist.rb
View
2  lib/gist.rb
@@ -240,7 +240,7 @@ def auth
# gist.private - boolean
# gist.extension - string
def defaults
- extension = config("gist.extension")
+ extension = config("gist.extension") || '.txt'
return {
"private" => config("gist.private"),
Please sign in to comment.
Something went wrong with that request. Please try again.