mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 00:00:03 +03:00
Clean up
This commit is contained in:
parent
469218f7e3
commit
9cf9a6c532
|
@ -135,8 +135,9 @@ else
|
|||
echo "SUCCESS: Rust is up to date"
|
||||
fi
|
||||
|
||||
# Check if GITPOD_WORKSPACE_ID environment variable exists
|
||||
if [ -z "$GITPOD_WORKSPACE_ID" ]; then
|
||||
# We don't need to clone if installing in Gitpod.io environment
|
||||
if [[ -z ${GITPOD_WORKSPACE_ID} ]]
|
||||
then
|
||||
Path=${1:-rustlings/}
|
||||
|
||||
echo "Cloning Rustlings at $Path..."
|
||||
|
|
Loading…
Reference in a new issue