Codefactor Fixes (#1493)

* codefactor fixes

* anotha one
This commit is contained in:
John Grosh authored and GitHub committed 2024-03-04 19:35:17 -05:00
1 parent a7807b96e2
commit bb17c984a2
5 files changed
+98 -82

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ LOOP=true
download() {
if [ $DOWNLOAD == true ]; then
URL=$(curl -s https://api.github.com/repos/jagrosh/MusicBot/releases/latest \
| grep -i browser_download_url.*\.jar \
| grep -i "browser_download_url.*\.jar" \
| sed 's/.*\(http.*\)"/\1/')
FILENAME=$(echo $URL | sed 's/.*\/\([^\/]*\)/\1/')
if [ -f $FILENAME ]; then