Skip to content

Commit 0dbb0d1

Browse files
committed
rename saved file to followers_$username
1 parent c392687 commit 0dbb0d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/src/scripts.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,10 @@ const scripts = {
7171
printLog(`You can access them in window.followers or download using`)
7272
// printLog(`\t\tdownloadCSV()`)
7373
// printLog(`or`)
74-
printLog(`\t\tdownload('followers.csv', getCSV(followers))`)
74+
printLog(`\t\tdownload('followers_${username}.csv', getCSV(followers))`)
7575

7676
window.followers = followers
77-
window.downloadCSV = () => download('followers.csv', getCSV(followers))
77+
window.downloadCSV = () => download(`followers_${username}.csv`, getCSV(followers))
7878

7979
downloadCSV()
8080
},

0 commit comments

Comments
 (0)