diff options
author | typebrook <typebrook@gmail.com> | 2020-01-20 15:35:40 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-01-20 15:35:40 +0800 |
commit | 28739fc48a2dae0f4af773ef7035c48c586eff6b (patch) | |
tree | 409bcddfeb2accd5c2f77dddaf2a75bf05f823d5 | |
parent | 703e0f3d97b5615d61b869b44251fafcecb948ca (diff) |
update
-rwxr-xr-x | scripts/gist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/gist b/scripts/gist index ca47f7f..823cc08 100755 --- a/scripts/gist +++ b/scripts/gist | |||
@@ -216,7 +216,7 @@ _new_file() { | |||
216 | } | 216 | } |
217 | 217 | ||
218 | # create a new gist with files | 218 | # create a new gist with files |
219 | # FIXME error handling if gist is not created | 219 | # FIXME error handling if gist is not created, file doesn't exist |
220 | _create_gist() { | 220 | _create_gist() { |
221 | _set_gist "$@" | 221 | _set_gist "$@" |
222 | [[ -z $files ]] && files=$(_new_file $filename) | 222 | [[ -z $files ]] && files=$(_new_file $filename) |