Skip to content

Scheduling infrastructure for absolutely everyone.

Updates git init scripts

zomarsfa131e034015
diff --git a/.gitignore b/.gitignore
index 28ce05562df..a89fca99ab1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -84,7 +84,6 @@ apps/storybook/build-storybook.log
# Submodules
.gitmodules
-apps/api
apps/website
apps/console
apps/auth
diff --git a/git-init.sh b/git-init.sh
index 045c1346817..a480c0c3d44 100755
--- a/git-init.sh
+++ b/git-init.sh
@@ -5,4 +5,4 @@
exit 0
}
-./git-setup.sh api website console
+./git-setup.sh website console
diff --git a/git-setup.sh b/git-setup.sh
index 9524ce21af9..f9deccf6d58 100755
--- a/git-setup.sh
+++ b/git-setup.sh
@@ -2,7 +2,7 @@
# If no project name is given
if [ $# -eq 0 ]; then
# Display usage and stop
- echo "Usage: git-setup.sh <api,console,website>"
+ echo "Usage: git-setup.sh <console,website>"
exit 1
fi
# Get remote url to support either https or ssh
@@ -30,13 +30,7 @@ for module in "$@"; do
# We forcefully added the subdmoule which was in .gitignore, so unstage it.
git restore --staged apps/$module
else
- # If the module is the API, display a link to request access
- if [ "$module" = "api" ]; then
- echo "You don't have access to: '${module}' module. You can request access in: https://console.cal.com"
- else
- # If the module is not the API, display normal message
- echo "You don't have access to: '${module}' module."
- fi
+ echo "You don't have access to: '${module}' module."
fi
done
git restore --staged .gitmodules