We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a841fae commit a5f3999Copy full SHA for a5f3999
src/script.sh
@@ -2,10 +2,8 @@
2
3
create_pull_request() {
4
# Download word list
5
- curl -sL https://raw.githubusercontent.com/TomBos/TLC/master/src/word_lists/word_list.txt -o word_list.txt
6
-
7
# Source wordlist (branch names)
8
- mapfile -t words < word_list.txt
+ mapfile -t words < <(curl -sL https://raw.githubusercontent.com/TomBos/TLC/master/src/word_lists/word_list.txt)
9
10
for i in $(seq 0 "$2"); do
11
WORD="${words[i]}"
@@ -132,5 +130,3 @@ clear && display_banner && make_selection
132
130
clear && display_banner && choose_number_of_prs "$SELECTION"
133
131
create_pull_request "$SELECTION" "$BRANCH_COUNT"
134
135
-# Clean up
136
-rm word_list.txt
0 commit comments