mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-27 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"
|
echo "SUCCESS: Rust is up to date"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if GITPOD_WORKSPACE_ID environment variable exists
|
# We don't need to clone if installing in Gitpod.io environment
|
||||||
if [ -z "$GITPOD_WORKSPACE_ID" ]; then
|
if [[ -z ${GITPOD_WORKSPACE_ID} ]]
|
||||||
|
then
|
||||||
Path=${1:-rustlings/}
|
Path=${1:-rustlings/}
|
||||||
|
|
||||||
echo "Cloning Rustlings at $Path..."
|
echo "Cloning Rustlings at $Path..."
|
||||||
|
|
Loading…
Reference in a new issue