Skip to content

Commit 2647d9f

Browse files
authored
Post DDOS Linter Fixes (#7193)
1 parent 93501b2 commit 2647d9f

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

code/__HELPERS/lists/merge.dm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
*
1616
* TODO: better name
1717
*/
18-
/proc/merge_double_lazy_assoc_list(list/A, list/B)
18+
/proc/merge_double_lazy_assoc_list(list/list/A, list/list/B)
1919
. = A.Copy()
2020
for(var/key in B)
2121
if(.[key])
@@ -41,7 +41,7 @@
4141
*
4242
* list("A" = list("a", "b", "c", "d"))
4343
*/
44-
/proc/merge_2_nested_list(list/A, list/B)
44+
/proc/merge_2_nested_list(list/list/A, list/list/B)
4545
. = list()
4646
for(var/k1 in A)
4747
.[k1] = A[k1].Copy()

tools/ci/download_byond.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,4 @@ set -e
33
source dependencies.sh
44

55
echo "Downloading BYOND version $BYOND_MAJOR.$BYOND_MINOR"
6-
DOWNLOAD_URL="http://www.byond.com/download/build/$BYOND_MAJOR/$BYOND_MAJOR.${BYOND_MINOR}_byond.zip"
7-
echo "Download URL: $DOWNLOAD_URL"
8-
9-
curl --fail -L "$DOWNLOAD_URL" -o C:/byond.zip -A "Citadel-Station-13-RP/1.0 Continuous Integration"
6+
curl -H "User-Agent: citadelstation/1.0 CI Script" "http://www.byond.com/download/build/$BYOND_MAJOR/$BYOND_MAJOR.${BYOND_MINOR}_byond.zip" -o C:/byond.zip

tools/ci/install/install_byond.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ else
1111
rm -rf "$HOME/BYOND"
1212
mkdir -p "$HOME/BYOND"
1313
cd "$HOME/BYOND"
14-
curl "http://www.byond.com/download/build/${BYOND_MAJOR}/${BYOND_MAJOR}.${BYOND_MINOR}_byond_linux.zip" -o byond.zip
14+
curl -H "User-Agent: citadelstation/1.0 CI Script" "http://www.byond.com/download/build/${BYOND_MAJOR}/${BYOND_MAJOR}.${BYOND_MINOR}_byond_linux.zip" -o byond.zip
1515
unzip byond.zip
1616
rm byond.zip
1717
cd byond

0 commit comments

Comments
 (0)