forked from firka/flutter
Re-enable docs with new container (#34681)
This commit is contained in:
12
dev/ci/docker_linux/patch_firebase.sh
Executable file
12
dev/ci/docker_linux/patch_firebase.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
FIREBASE_CMD_LOC=$(which firebase)
|
||||
NODE_DIR=$(dirname $(dirname $FIREBASE_CMD_LOC))
|
||||
echo "Node directory is located at $NODE_DIR"
|
||||
|
||||
UPLOADER_FILE="$NODE_DIR""/lib/node_modules/firebase-tools/lib/deploy/hosting/uploader.js"
|
||||
echo "File to modify is $UPLOADER_FILE"
|
||||
|
||||
REPLACE='s#populateBatchSize || 1000;#populateBatchSize || 100;#'
|
||||
echo "Going to replace with $REPLACE"
|
||||
sed -i "$REPLACE" "$UPLOADER_FILE"
|
||||
Reference in New Issue
Block a user