Latest
This commit is contained in:
parent
0d2fe3c0df
commit
923c396db6
5 changed files with 1 additions and 29 deletions
|
@ -13,7 +13,7 @@
|
|||
if command -v warp-cli > /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'
|
||||
warp-cli disconnect
|
||||
# warp-cli disconnect
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
@ -25,13 +25,6 @@ if [ -n "$CI" ]; then
|
|||
export WORK_ENVIRONMENT=false
|
||||
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
|
||||
if [ -z "$START_REPO" ]; then
|
||||
START_REPO="https://github.com/megabyte-labs/install.doctor.git"
|
||||
|
|
|
@ -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"
|
||||
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
|
||||
# @example installGlow
|
||||
installGlow() {
|
||||
|
|
|
@ -67,13 +67,6 @@ if [ -n "$CI" ]; then
|
|||
export WORK_ENVIRONMENT=false
|
||||
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
|
||||
if [ -z "$START_REPO" ]; then
|
||||
START_REPO="https://github.com/megabyte-labs/install.doctor.git"
|
||||
|
|
|
@ -67,13 +67,6 @@ if [ -n "$CI" ]; then
|
|||
export WORK_ENVIRONMENT=false
|
||||
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
|
||||
if [ -z "$START_REPO" ] && [ -z "$REPO" ]; then
|
||||
START_REPO="https://github.com/megabyte-labs/install.doctor.git"
|
||||
|
|
Loading…
Reference in a new issue