This commit is contained in:
Brian Zalewski 2023-08-08 16:06:04 -04:00 committed by GitHub
parent 0d2fe3c0df
commit 923c396db6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 1 additions and 29 deletions

View file

@ -13,7 +13,7 @@
if command -v warp-cli > /dev/null; then if command -v warp-cli > /dev/null; then
if warp-cli status | grep 'Connected' > /dev/null; then if warp-cli status | grep 'Connected' > /dev/null; then
logg info 'Disconnecting from CloudFlare Teams / WARP due to Volta ignoring CA specified in NPM configuration' logg info 'Disconnecting from CloudFlare Teams / WARP due to Volta ignoring CA specified in NPM configuration'
warp-cli disconnect # warp-cli disconnect
fi fi
fi fi

View file

@ -25,13 +25,6 @@ if [ -n "$CI" ]; then
export WORK_ENVIRONMENT=false export WORK_ENVIRONMENT=false
fi fi
### Disconnect from WARP, if connected
if command -v warp-cli > /dev/null; then
if warp-cli status | grep 'Connected' > /dev/null; then
warp-cli disconnect && echo "Disconnected WARP to prevent conflicts"
fi
fi
# @description Detect `START_REPO` format and determine appropriate git address, otherwise use the master Install Doctor branch # @description Detect `START_REPO` format and determine appropriate git address, otherwise use the master Install Doctor branch
if [ -z "$START_REPO" ]; then if [ -z "$START_REPO" ]; then
START_REPO="https://github.com/megabyte-labs/install.doctor.git" START_REPO="https://github.com/megabyte-labs/install.doctor.git"

View file

@ -13,13 +13,6 @@ if [ ! -d "${XDG_DATA_HOME:-$HOME/.local/share}/megabyte-labs" ]; then
mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/megabyte-labs" mkdir -p "${XDG_DATA_HOME:-$HOME/.local/share}/megabyte-labs"
fi fi
### Disconnect from WARP, if connected
if command -v warp-cli > /dev/null; then
if warp-cli status | grep 'Connected' > /dev/null; then
warp-cli disconnect && echo "Disconnected WARP to prevent conflicts"
fi
fi
# @description Installs glow (a markdown renderer) from GitHub releases # @description Installs glow (a markdown renderer) from GitHub releases
# @example installGlow # @example installGlow
installGlow() { installGlow() {

View file

@ -67,13 +67,6 @@ if [ -n "$CI" ]; then
export WORK_ENVIRONMENT=false export WORK_ENVIRONMENT=false
fi fi
### Disconnect from WARP, if connected
if command -v warp-cli > /dev/null; then
if warp-cli status | grep 'Connected' > /dev/null; then
warp-cli disconnect && echo "Disconnected WARP to prevent conflicts"
fi
fi
# @description Detect `START_REPO` format and determine appropriate git address, otherwise use the master Install Doctor branch # @description Detect `START_REPO` format and determine appropriate git address, otherwise use the master Install Doctor branch
if [ -z "$START_REPO" ]; then if [ -z "$START_REPO" ]; then
START_REPO="https://github.com/megabyte-labs/install.doctor.git" START_REPO="https://github.com/megabyte-labs/install.doctor.git"

View file

@ -67,13 +67,6 @@ if [ -n "$CI" ]; then
export WORK_ENVIRONMENT=false export WORK_ENVIRONMENT=false
fi fi
# @description Disconnect from WARP, if connected
if command -v warp-cli > /dev/null; then
if warp-cli status | grep 'Connected' > /dev/null; then
warp-cli disconnect && echo "Disconnected WARP to prevent conflicts"
fi
fi
# @description Detect `START_REPO` format and determine appropriate git address, otherwise use the master Install Doctor branch # @description Detect `START_REPO` format and determine appropriate git address, otherwise use the master Install Doctor branch
if [ -z "$START_REPO" ] && [ -z "$REPO" ]; then if [ -z "$START_REPO" ] && [ -z "$REPO" ]; then
START_REPO="https://github.com/megabyte-labs/install.doctor.git" START_REPO="https://github.com/megabyte-labs/install.doctor.git"