File tree 3 files changed +3
-10
lines changed
3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,6 @@ apps/storybook/build-storybook.log
84
84
85
85
# Submodules
86
86
.gitmodules
87
- apps /api
88
87
apps /website
89
88
apps /console
90
89
apps /auth
Original file line number Diff line number Diff line change 5
5
exit 0
6
6
}
7
7
8
- ./git-setup.sh api website console
8
+ ./git-setup.sh website console
Original file line number Diff line number Diff line change 2
2
# If no project name is given
3
3
if [ $# -eq 0 ]; then
4
4
# Display usage and stop
5
- echo " Usage: git-setup.sh <api, console,website>"
5
+ echo " Usage: git-setup.sh <console,website>"
6
6
exit 1
7
7
fi
8
8
# Get remote url to support either https or ssh
@@ -30,13 +30,7 @@ for module in "$@"; do
30
30
# We forcefully added the subdmoule which was in .gitignore, so unstage it.
31
31
git restore --staged apps/$module
32
32
else
33
- # If the module is the API, display a link to request access
34
- if [ " $module " = " api" ]; then
35
- echo " You don't have access to: '${module} ' module. You can request access in: https://console.cal.com"
36
- else
37
- # If the module is not the API, display normal message
38
- echo " You don't have access to: '${module} ' module."
39
- fi
33
+ echo " You don't have access to: '${module} ' module."
40
34
fi
41
35
done
42
36
git restore --staged .gitmodules
You can’t perform that action at this time.
0 commit comments